1 /* Generated automatically from ./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 extern void initarray(void);
37 extern void initcmath(void);
38 extern void initmath(void);
39 extern void init_struct(void);
40 extern void inittime(void);
41 extern void initoperator(void);
42 extern void init_testcapi(void);
43 extern void init_random(void);
44 extern void init_collections(void);
45 extern void init_heapq(void);
46 extern void inititertools(void);
47 extern void initstrop(void);
48 extern void init_functools(void);
49 extern void initdatetime(void);
50 extern void init_bisect(void);
51 extern void initunicodedata(void);
52 extern void init_io(void);
53 extern void initfcntl(void);
54 extern void initselect(void);
55 extern void initmmap(void);
56 extern void init_csv(void);
57 extern void init_socket(void);
58 extern void inittermios(void);
59 extern void init_ssl(void);
60 extern void init_md5(void);
61 extern void init_sha(void);
62 extern void init_sha256(void);
63 extern void init_sha512(void);
64 extern void initbinascii(void);
65 extern void initparser(void);
66 extern void initcStringIO(void);
67 extern void initcPickle(void);
68 extern void initxxsubtype(void);
69 extern void initfuture_builtins(void);
70 extern void init_json(void);
71 extern void init_hotshot(void);
72 extern void init_lsprof(void);
73 extern void initgrp(void);
74 extern void initsyslog(void);
75 extern void initaudioop(void);
76 extern void initresource(void);
77 extern void init_multibytecodec(void);
78 extern void init_multiprocessing(void);
79 extern void initzlib(void);
80 extern void initpyexpat(void);
81 extern void init_sqlite3(void);
82 extern void init_ctypes(void);
83 extern void init_ctypes_test(void);
84 #ifdef __APPLE__
85 extern void init_scproxy(void);
86 #endif
87 
88 /* -- ADDMODULE MARKER 1 -- */
89 
90 extern void PyMarshal_Init(void);
91 extern void initimp(void);
92 extern void initgc(void);
93 extern void init_ast(void);
94 extern void _PyWarnings_Init(void);
95 
96 struct _inittab _PyImport_Inittab[] = {
97 
98     {"thread", initthread},
99     {"signal", initsignal},
100     {"posix", initposix},
101     {"errno", initerrno},
102     {"pwd", initpwd},
103     {"_sre", init_sre},
104     {"_codecs", init_codecs},
105     {"_weakref", init_weakref},
106     {"zipimport", initzipimport},
107     {"_symtable", init_symtable},
108     {"array", initarray},
109     {"cmath", initcmath},
110     {"math", initmath},
111     {"_struct", init_struct},
112     {"time", inittime},
113     {"operator", initoperator},
114     {"_testcapi", init_testcapi},
115     {"_random", init_random},
116     {"_collections", init_collections},
117     {"_heapq", init_heapq},
118     {"itertools", inititertools},
119     {"strop", initstrop},
120     {"_functools", init_functools},
121     {"datetime", initdatetime},
122     {"_bisect", init_bisect},
123     {"unicodedata", initunicodedata},
124     {"_io", init_io},
125     {"fcntl", initfcntl},
126     {"select", initselect},
127     {"mmap", initmmap},
128     {"_csv", init_csv},
129     {"_socket", init_socket},
130     {"termios", inittermios},
131     {"_ssl", init_ssl},
132     {"_md5", init_md5},
133     {"_sha", init_sha},
134     {"_sha256", init_sha256},
135     {"_sha512", init_sha512},
136     {"binascii", initbinascii},
137     {"parser", initparser},
138     {"cStringIO", initcStringIO},
139     {"cPickle", initcPickle},
140     {"xxsubtype", initxxsubtype},
141     {"future_builtins", initfuture_builtins},
142     {"_json", init_json},
143     {"_hotshot", init_hotshot},
144     {"_lsprof", init_lsprof},
145     {"grp", initgrp},
146     {"syslog", initsyslog},
147     {"audioop", initaudioop},
148     {"resource", initresource},
149     {"_multibytecodec", init_multibytecodec},
150     {"_multiprocessing", init_multiprocessing},
151     {"zlib", initzlib},
152     {"pyexpat", initpyexpat},
153     {"_sqlite3", init_sqlite3},
154     {"_ctypes", init_ctypes},
155     {"_ctypes_test", init_ctypes_test},
156 #ifdef __APPLE__
157     {"_scproxy", init_scproxy},
158 #endif
159 
160 /* -- ADDMODULE MARKER 2 -- */
161 
162     /* This module lives in marshal.c */
163     {"marshal", PyMarshal_Init},
164 
165     /* This lives in import.c */
166     {"imp", initimp},
167 
168     /* This lives in Python/Python-ast.c */
169     {"_ast", init_ast},
170 
171     /* These entries are here for sys.builtin_module_names */
172     {"__main__", NULL},
173     {"__builtin__", NULL},
174     {"sys", NULL},
175     {"exceptions", NULL},
176 
177     /* This lives in gcmodule.c */
178     {"gc", initgc},
179 
180     /* This lives in _warnings.c */
181     {"_warnings", _PyWarnings_Init},
182 
183     /* Sentinel */
184     {0, 0}
185 };
186 
187 
188 #ifdef __cplusplus
189 }
190 #endif
191