1 /* Generated automatically from /s/ndk-toolchain/src/python/Python-2.7.5/Modules/config.c.in by makesetup. */ 2 /* -*- C -*- *********************************************** 3 Copyright (c) 2000, BeOpen.com. 4 Copyright (c) 1995-2000, Corporation for National Research Initiatives. 5 Copyright (c) 1990-1995, Stichting Mathematisch Centrum. 6 All rights reserved. 7 8 See the file "Misc/COPYRIGHT" for information on usage and 9 redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES. 10 ******************************************************************/ 11 12 /* Module configuration */ 13 14 /* !!! !!! !!! This file is edited by the makesetup script !!! !!! !!! */ 15 16 /* This file contains the table of built-in modules. 17 See init_builtin() in import.c. */ 18 19 #include "Python.h" 20 21 #ifdef __cplusplus 22 extern "C" { 23 #endif 24 25 26 extern void initposix(void); 27 extern void initthread(void); 28 extern void initsignal(void); 29 extern void initerrno(void); 30 extern void init_sre(void); 31 extern void init_codecs(void); 32 extern void init_weakref(void); 33 extern void initzipimport(void); 34 extern void init_symtable(void); 35 extern void initxxsubtype(void); 36 /* -- ADDMODULE MARKER 1 -- */ 37 38 extern void PyMarshal_Init(void); 39 extern void initimp(void); 40 extern void initgc(void); 41 extern void init_ast(void); 42 extern void _PyWarnings_Init(void); 43 44 struct _inittab _PyImport_Inittab[] = { 45 46 {"posix", initposix}, 47 {"thread", initthread}, 48 {"signal", initsignal}, 49 {"errno", initerrno}, 50 {"_sre", init_sre}, 51 {"_codecs", init_codecs}, 52 {"_weakref", init_weakref}, 53 {"zipimport", initzipimport}, 54 {"_symtable", init_symtable}, 55 {"xxsubtype", initxxsubtype}, 56 /* -- ADDMODULE MARKER 2 -- */ 57 58 /* This module lives in marshal.c */ 59 {"marshal", PyMarshal_Init}, 60 61 /* This lives in import.c */ 62 {"imp", initimp}, 63 64 /* This lives in Python/Python-ast.c */ 65 {"_ast", init_ast}, 66 67 /* These entries are here for sys.builtin_module_names */ 68 {"__main__", NULL}, 69 {"__builtin__", NULL}, 70 {"sys", NULL}, 71 {"exceptions", NULL}, 72 73 /* This lives in gcmodule.c */ 74 {"gc", initgc}, 75 76 /* This lives in _warnings.c */ 77 {"_warnings", _PyWarnings_Init}, 78 79 /* Sentinel */ 80 {0, 0} 81 }; 82 83 84 #ifdef __cplusplus 85 } 86 #endif 87