No issues found
1 /* Generated automatically from /builddir/build/BUILD/Python-2.7.3/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 initthread(void);
27 extern void initsignal(void);
28 extern void initposix(void);
29 extern void initerrno(void);
30 extern void initpwd(void);
31 extern void init_sre(void);
32 extern void init_codecs(void);
33 extern void init_weakref(void);
34 extern void initzipimport(void);
35 extern void init_symtable(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 {"thread", initthread},
48 {"signal", initsignal},
49 {"posix", initposix},
50 {"errno", initerrno},
51 {"pwd", initpwd},
52 {"_sre", init_sre},
53 {"_codecs", init_codecs},
54 {"_weakref", init_weakref},
55 {"zipimport", initzipimport},
56 {"_symtable", init_symtable},
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