1/* -*- C -*- *********************************************** 2Copyright (c) 2000, BeOpen.com. 3Copyright (c) 1995-2000, Corporation for National Research Initiatives. 4Copyright (c) 1990-1995, Stichting Mathematisch Centrum. 5All rights reserved. 6 7See the file "Misc/COPYRIGHT" for information on usage and 8redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES. 9******************************************************************/ 10 11/* Module configuration */ 12 13/* !!! !!! !!! This file is edited by the makesetup script !!! !!! !!! */ 14 15/* This file contains the table of built-in modules. 16 See create_builtin() in import.c. */ 17 18#include "Python.h" 19 20#ifdef __cplusplus 21extern "C" { 22#endif 23 24 25/* -- ADDMODULE MARKER 1 -- */ 26 27extern PyObject* PyMarshal_Init(void); 28extern PyObject* PyInit__imp(void); 29extern PyObject* PyInit_gc(void); 30extern PyObject* PyInit__ast(void); 31extern PyObject* PyInit__tokenize(void); 32extern PyObject* _PyWarnings_Init(void); 33extern PyObject* PyInit__string(void); 34 35struct _inittab _PyImport_Inittab[] = { 36 37/* -- ADDMODULE MARKER 2 -- */ 38 39 /* This module lives in marshal.c */ 40 {"marshal", PyMarshal_Init}, 41 42 /* This lives in import.c */ 43 {"_imp", PyInit__imp}, 44 45 /* This lives in Python/Python-ast.c */ 46 {"_ast", PyInit__ast}, 47 48 /* This lives in Python/Python-tokenizer.c */ 49 {"_tokenize", PyInit__tokenize}, 50 51 /* These entries are here for sys.builtin_module_names */ 52 {"builtins", NULL}, 53 {"sys", NULL}, 54 55 /* This lives in gcmodule.c */ 56 {"gc", PyInit_gc}, 57 58 /* This lives in _warnings.c */ 59 {"_warnings", _PyWarnings_Init}, 60 61 /* This lives in Objects/unicodeobject.c */ 62 {"_string", PyInit__string}, 63 64 /* Sentinel */ 65 {0, 0} 66}; 67 68 69#ifdef __cplusplus 70} 71#endif 72