blob: 67a0bc643a7959f2367e801b6cdedfc00f5c2314 [file] [log] [blame]
Nan Zhangc3939142017-05-25 23:21:27 -07001/* Generated automatically from ./Modules/config.c.in by makesetup. */
2/* -*- C -*- ***********************************************
3Copyright (c) 2000, BeOpen.com.
4Copyright (c) 1995-2000, Corporation for National Research Initiatives.
5Copyright (c) 1990-1995, Stichting Mathematisch Centrum.
6All rights reserved.
7
8See the file "Misc/COPYRIGHT" for information on usage and
9redistribution 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
22extern "C" {
23#endif
24
25
26extern void initthread(void);
27extern void initsignal(void);
28extern void initposix(void);
29extern void initerrno(void);
30extern void initpwd(void);
31extern void init_sre(void);
32extern void init_codecs(void);
33extern void init_weakref(void);
34extern void initzipimport(void);
35extern void init_symtable(void);
36extern void initarray(void);
37extern void initcmath(void);
38extern void initmath(void);
39extern void init_struct(void);
40extern void inittime(void);
41extern void initoperator(void);
42extern void init_testcapi(void);
43extern void init_random(void);
44extern void init_collections(void);
45extern void init_heapq(void);
46extern void inititertools(void);
47extern void initstrop(void);
48extern void init_functools(void);
49extern void initdatetime(void);
50extern void init_bisect(void);
51extern void initunicodedata(void);
52extern void init_io(void);
53extern void initfcntl(void);
54extern void initselect(void);
55extern void initmmap(void);
56extern void init_csv(void);
57extern void init_socket(void);
58extern void inittermios(void);
59extern void init_md5(void);
60extern void init_sha(void);
61extern void init_sha256(void);
62extern void init_sha512(void);
63extern void initbinascii(void);
64extern void initparser(void);
65extern void initcStringIO(void);
66extern void initcPickle(void);
67extern void initxxsubtype(void);
68extern void initfuture_builtins(void);
69extern void init_json(void);
70extern void init_hotshot(void);
71extern void init_lsprof(void);
72extern void initgrp(void);
73extern void initsyslog(void);
74extern void initaudioop(void);
75extern void initresource(void);
76extern void init_multibytecodec(void);
77extern void init_multiprocessing(void);
Nan Zhangced27512017-06-19 18:01:34 -070078extern void initzlib(void);
Nan Zhangd5c4d4a2017-07-19 16:22:00 -070079extern void initpyexpat(void);
80extern void init_sqlite3(void);
81extern void init_ctypes(void);
82extern void init_ctypes_test(void);
Nan Zhangc3939142017-05-25 23:21:27 -070083
84/* -- ADDMODULE MARKER 1 -- */
85
86extern void PyMarshal_Init(void);
87extern void initimp(void);
88extern void initgc(void);
89extern void init_ast(void);
90extern void _PyWarnings_Init(void);
91
92struct _inittab _PyImport_Inittab[] = {
93
94 {"thread", initthread},
95 {"signal", initsignal},
96 {"posix", initposix},
97 {"errno", initerrno},
98 {"pwd", initpwd},
99 {"_sre", init_sre},
100 {"_codecs", init_codecs},
101 {"_weakref", init_weakref},
102 {"zipimport", initzipimport},
103 {"_symtable", init_symtable},
104 {"array", initarray},
105 {"cmath", initcmath},
106 {"math", initmath},
107 {"_struct", init_struct},
108 {"time", inittime},
109 {"operator", initoperator},
110 {"_testcapi", init_testcapi},
111 {"_random", init_random},
112 {"_collections", init_collections},
113 {"_heapq", init_heapq},
114 {"itertools", inititertools},
115 {"strop", initstrop},
116 {"_functools", init_functools},
117 {"datetime", initdatetime},
118 {"_bisect", init_bisect},
119 {"unicodedata", initunicodedata},
120 {"_io", init_io},
121 {"fcntl", initfcntl},
122 {"select", initselect},
123 {"mmap", initmmap},
124 {"_csv", init_csv},
125 {"_socket", init_socket},
126 {"termios", inittermios},
127 {"_md5", init_md5},
128 {"_sha", init_sha},
129 {"_sha256", init_sha256},
130 {"_sha512", init_sha512},
131 {"binascii", initbinascii},
132 {"parser", initparser},
133 {"cStringIO", initcStringIO},
134 {"cPickle", initcPickle},
135 {"xxsubtype", initxxsubtype},
136 {"future_builtins", initfuture_builtins},
137 {"_json", init_json},
138 {"_hotshot", init_hotshot},
139 {"_lsprof", init_lsprof},
140 {"grp", initgrp},
141 {"syslog", initsyslog},
142 {"audioop", initaudioop},
143 {"resource", initresource},
144 {"_multibytecodec", init_multibytecodec},
145 {"_multiprocessing", init_multiprocessing},
Nan Zhangced27512017-06-19 18:01:34 -0700146 {"zlib", initzlib},
Nan Zhangd5c4d4a2017-07-19 16:22:00 -0700147 {"pyexpat", initpyexpat},
148 {"_sqlite3", init_sqlite3},
149 {"_ctypes", init_ctypes},
150 {"_ctypes_test", init_ctypes_test},
Nan Zhangc3939142017-05-25 23:21:27 -0700151
152/* -- ADDMODULE MARKER 2 -- */
153
154 /* This module lives in marshal.c */
155 {"marshal", PyMarshal_Init},
156
157 /* This lives in import.c */
158 {"imp", initimp},
159
160 /* This lives in Python/Python-ast.c */
161 {"_ast", init_ast},
162
163 /* These entries are here for sys.builtin_module_names */
164 {"__main__", NULL},
165 {"__builtin__", NULL},
166 {"sys", NULL},
167 {"exceptions", NULL},
168
169 /* This lives in gcmodule.c */
170 {"gc", initgc},
171
172 /* This lives in _warnings.c */
173 {"_warnings", _PyWarnings_Init},
174
175 /* Sentinel */
176 {0, 0}
177};
178
179
180#ifdef __cplusplus
181}
182#endif