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