Home | History | Annotate | Download | only in config
      1 /* Generated automatically from /usr/local/google/buildbot/src/android/master-ndk/toolchain/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 
     37 /* -- ADDMODULE MARKER 1 -- */
     38 
     39 extern void PyMarshal_Init(void);
     40 extern void initimp(void);
     41 extern void initgc(void);
     42 extern void init_ast(void);
     43 extern void _PyWarnings_Init(void);
     44 
     45 struct _inittab _PyImport_Inittab[] = {
     46 
     47 	{"posix", initposix},
     48 	{"thread", initthread},
     49 	{"signal", initsignal},
     50 	{"errno", initerrno},
     51 	{"_sre", init_sre},
     52 	{"_codecs", init_codecs},
     53 	{"_weakref", init_weakref},
     54 	{"zipimport", initzipimport},
     55 	{"_symtable", init_symtable},
     56 	{"xxsubtype", initxxsubtype},
     57 
     58 /* -- ADDMODULE MARKER 2 -- */
     59 
     60     /* This module lives in marshal.c */
     61     {"marshal", PyMarshal_Init},
     62 
     63     /* This lives in import.c */
     64     {"imp", initimp},
     65 
     66     /* This lives in Python/Python-ast.c */
     67     {"_ast", init_ast},
     68 
     69     /* These entries are here for sys.builtin_module_names */
     70     {"__main__", NULL},
     71     {"__builtin__", NULL},
     72     {"sys", NULL},
     73     {"exceptions", NULL},
     74 
     75     /* This lives in gcmodule.c */
     76     {"gc", initgc},
     77 
     78     /* This lives in _warnings.c */
     79     {"_warnings", _PyWarnings_Init},
     80 
     81     /* Sentinel */
     82     {0, 0}
     83 };
     84 
     85 
     86 #ifdef __cplusplus
     87 }
     88 #endif
     89