blob: 807d1e9b63653979295f19c13fb2a7c17d5e9cb3 [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 Zhangc3939142017-05-25 23:21:27 -070079
80/* -- ADDMODULE MARKER 1 -- */
81
82extern void PyMarshal_Init(void);
83extern void initimp(void);
84extern void initgc(void);
85extern void init_ast(void);
86extern void _PyWarnings_Init(void);
87
88struct _inittab _PyImport_Inittab[] = {
89
90 {"thread", initthread},
91 {"signal", initsignal},
92 {"posix", initposix},
93 {"errno", initerrno},
94 {"pwd", initpwd},
95 {"_sre", init_sre},
96 {"_codecs", init_codecs},
97 {"_weakref", init_weakref},
98 {"zipimport", initzipimport},
99 {"_symtable", init_symtable},
100 {"array", initarray},
101 {"cmath", initcmath},
102 {"math", initmath},
103 {"_struct", init_struct},
104 {"time", inittime},
105 {"operator", initoperator},
106 {"_testcapi", init_testcapi},
107 {"_random", init_random},
108 {"_collections", init_collections},
109 {"_heapq", init_heapq},
110 {"itertools", inititertools},
111 {"strop", initstrop},
112 {"_functools", init_functools},
113 {"datetime", initdatetime},
114 {"_bisect", init_bisect},
115 {"unicodedata", initunicodedata},
116 {"_io", init_io},
117 {"fcntl", initfcntl},
118 {"select", initselect},
119 {"mmap", initmmap},
120 {"_csv", init_csv},
121 {"_socket", init_socket},
122 {"termios", inittermios},
123 {"_md5", init_md5},
124 {"_sha", init_sha},
125 {"_sha256", init_sha256},
126 {"_sha512", init_sha512},
127 {"binascii", initbinascii},
128 {"parser", initparser},
129 {"cStringIO", initcStringIO},
130 {"cPickle", initcPickle},
131 {"xxsubtype", initxxsubtype},
132 {"future_builtins", initfuture_builtins},
133 {"_json", init_json},
134 {"_hotshot", init_hotshot},
135 {"_lsprof", init_lsprof},
136 {"grp", initgrp},
137 {"syslog", initsyslog},
138 {"audioop", initaudioop},
139 {"resource", initresource},
140 {"_multibytecodec", init_multibytecodec},
141 {"_multiprocessing", init_multiprocessing},
Nan Zhangced27512017-06-19 18:01:34 -0700142 {"zlib", initzlib},
Nan Zhangc3939142017-05-25 23:21:27 -0700143
144/* -- ADDMODULE MARKER 2 -- */
145
146 /* This module lives in marshal.c */
147 {"marshal", PyMarshal_Init},
148
149 /* This lives in import.c */
150 {"imp", initimp},
151
152 /* This lives in Python/Python-ast.c */
153 {"_ast", init_ast},
154
155 /* These entries are here for sys.builtin_module_names */
156 {"__main__", NULL},
157 {"__builtin__", NULL},
158 {"sys", NULL},
159 {"exceptions", NULL},
160
161 /* This lives in gcmodule.c */
162 {"gc", initgc},
163
164 /* This lives in _warnings.c */
165 {"_warnings", _PyWarnings_Init},
166
167 /* Sentinel */
168 {0, 0}
169};
170
171
172#ifdef __cplusplus
173}
174#endif