blob: 677c06367ef4c2c8b85584a3cb408b825b99581b [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);
Dan Willemsendbcebe02019-01-07 18:07:24 -080059extern void init_ssl(void);
Nan Zhangc3939142017-05-25 23:21:27 -070060extern void init_md5(void);
61extern void init_sha(void);
62extern void init_sha256(void);
63extern void init_sha512(void);
64extern void initbinascii(void);
65extern void initparser(void);
66extern void initcStringIO(void);
67extern void initcPickle(void);
68extern void initxxsubtype(void);
69extern void initfuture_builtins(void);
70extern void init_json(void);
71extern void init_hotshot(void);
72extern void init_lsprof(void);
73extern void initgrp(void);
74extern void initsyslog(void);
75extern void initaudioop(void);
76extern void initresource(void);
77extern void init_multibytecodec(void);
78extern void init_multiprocessing(void);
Nan Zhangced27512017-06-19 18:01:34 -070079extern void initzlib(void);
Nan Zhangd5c4d4a2017-07-19 16:22:00 -070080extern void initpyexpat(void);
81extern void init_sqlite3(void);
82extern void init_ctypes(void);
83extern void init_ctypes_test(void);
Nan Zhangc3939142017-05-25 23:21:27 -070084
85/* -- ADDMODULE MARKER 1 -- */
86
87extern void PyMarshal_Init(void);
88extern void initimp(void);
89extern void initgc(void);
90extern void init_ast(void);
91extern void _PyWarnings_Init(void);
92
93struct _inittab _PyImport_Inittab[] = {
94
95 {"thread", initthread},
96 {"signal", initsignal},
97 {"posix", initposix},
98 {"errno", initerrno},
99 {"pwd", initpwd},
100 {"_sre", init_sre},
101 {"_codecs", init_codecs},
102 {"_weakref", init_weakref},
103 {"zipimport", initzipimport},
104 {"_symtable", init_symtable},
105 {"array", initarray},
106 {"cmath", initcmath},
107 {"math", initmath},
108 {"_struct", init_struct},
109 {"time", inittime},
110 {"operator", initoperator},
111 {"_testcapi", init_testcapi},
112 {"_random", init_random},
113 {"_collections", init_collections},
114 {"_heapq", init_heapq},
115 {"itertools", inititertools},
116 {"strop", initstrop},
117 {"_functools", init_functools},
118 {"datetime", initdatetime},
119 {"_bisect", init_bisect},
120 {"unicodedata", initunicodedata},
121 {"_io", init_io},
122 {"fcntl", initfcntl},
123 {"select", initselect},
124 {"mmap", initmmap},
125 {"_csv", init_csv},
126 {"_socket", init_socket},
127 {"termios", inittermios},
Dan Willemsendbcebe02019-01-07 18:07:24 -0800128 {"_ssl", init_ssl},
Nan Zhangc3939142017-05-25 23:21:27 -0700129 {"_md5", init_md5},
130 {"_sha", init_sha},
131 {"_sha256", init_sha256},
132 {"_sha512", init_sha512},
133 {"binascii", initbinascii},
134 {"parser", initparser},
135 {"cStringIO", initcStringIO},
136 {"cPickle", initcPickle},
137 {"xxsubtype", initxxsubtype},
138 {"future_builtins", initfuture_builtins},
139 {"_json", init_json},
140 {"_hotshot", init_hotshot},
141 {"_lsprof", init_lsprof},
142 {"grp", initgrp},
143 {"syslog", initsyslog},
144 {"audioop", initaudioop},
145 {"resource", initresource},
146 {"_multibytecodec", init_multibytecodec},
147 {"_multiprocessing", init_multiprocessing},
Nan Zhangced27512017-06-19 18:01:34 -0700148 {"zlib", initzlib},
Nan Zhangd5c4d4a2017-07-19 16:22:00 -0700149 {"pyexpat", initpyexpat},
150 {"_sqlite3", init_sqlite3},
151 {"_ctypes", init_ctypes},
152 {"_ctypes_test", init_ctypes_test},
Nan Zhangc3939142017-05-25 23:21:27 -0700153
154/* -- ADDMODULE MARKER 2 -- */
155
156 /* This module lives in marshal.c */
157 {"marshal", PyMarshal_Init},
158
159 /* This lives in import.c */
160 {"imp", initimp},
161
162 /* This lives in Python/Python-ast.c */
163 {"_ast", init_ast},
164
165 /* These entries are here for sys.builtin_module_names */
166 {"__main__", NULL},
167 {"__builtin__", NULL},
168 {"sys", NULL},
169 {"exceptions", NULL},
170
171 /* This lives in gcmodule.c */
172 {"gc", initgc},
173
174 /* This lives in _warnings.c */
175 {"_warnings", _PyWarnings_Init},
176
177 /* Sentinel */
178 {0, 0}
179};
180
181
182#ifdef __cplusplus
183}
184#endif