1 | n/a | /* Module configuration */ |
---|
2 | n/a | |
---|
3 | n/a | /* This file contains the table of built-in modules. |
---|
4 | n/a | See create_builtin() in import.c. */ |
---|
5 | n/a | |
---|
6 | n/a | #include "Python.h" |
---|
7 | n/a | |
---|
8 | n/a | extern PyObject* PyInit_array(void); |
---|
9 | n/a | #ifndef MS_WINI64 |
---|
10 | n/a | extern PyObject* PyInit_audioop(void); |
---|
11 | n/a | #endif |
---|
12 | n/a | extern PyObject* PyInit_binascii(void); |
---|
13 | n/a | extern PyObject* PyInit_cmath(void); |
---|
14 | n/a | extern PyObject* PyInit_errno(void); |
---|
15 | n/a | extern PyObject* PyInit_faulthandler(void); |
---|
16 | n/a | extern PyObject* PyInit__tracemalloc(void); |
---|
17 | n/a | extern PyObject* PyInit_gc(void); |
---|
18 | n/a | extern PyObject* PyInit_math(void); |
---|
19 | n/a | extern PyObject* PyInit__md5(void); |
---|
20 | n/a | extern PyObject* PyInit_nt(void); |
---|
21 | n/a | extern PyObject* PyInit__operator(void); |
---|
22 | n/a | extern PyObject* PyInit__signal(void); |
---|
23 | n/a | extern PyObject* PyInit__sha1(void); |
---|
24 | n/a | extern PyObject* PyInit__sha256(void); |
---|
25 | n/a | extern PyObject* PyInit__sha512(void); |
---|
26 | n/a | extern PyObject* PyInit__sha3(void); |
---|
27 | n/a | extern PyObject* PyInit__blake2(void); |
---|
28 | n/a | extern PyObject* PyInit_time(void); |
---|
29 | n/a | extern PyObject* PyInit__thread(void); |
---|
30 | n/a | #ifdef WIN32 |
---|
31 | n/a | extern PyObject* PyInit_msvcrt(void); |
---|
32 | n/a | extern PyObject* PyInit__locale(void); |
---|
33 | n/a | #endif |
---|
34 | n/a | extern PyObject* PyInit__codecs(void); |
---|
35 | n/a | extern PyObject* PyInit__weakref(void); |
---|
36 | n/a | extern PyObject* PyInit_xxsubtype(void); |
---|
37 | n/a | extern PyObject* PyInit_zipimport(void); |
---|
38 | n/a | extern PyObject* PyInit__random(void); |
---|
39 | n/a | extern PyObject* PyInit_itertools(void); |
---|
40 | n/a | extern PyObject* PyInit__collections(void); |
---|
41 | n/a | extern PyObject* PyInit__heapq(void); |
---|
42 | n/a | extern PyObject* PyInit__bisect(void); |
---|
43 | n/a | extern PyObject* PyInit__symtable(void); |
---|
44 | n/a | extern PyObject* PyInit_mmap(void); |
---|
45 | n/a | extern PyObject* PyInit__csv(void); |
---|
46 | n/a | extern PyObject* PyInit__sre(void); |
---|
47 | n/a | extern PyObject* PyInit_parser(void); |
---|
48 | n/a | extern PyObject* PyInit_winreg(void); |
---|
49 | n/a | extern PyObject* PyInit__struct(void); |
---|
50 | n/a | extern PyObject* PyInit__datetime(void); |
---|
51 | n/a | extern PyObject* PyInit__functools(void); |
---|
52 | n/a | extern PyObject* PyInit__json(void); |
---|
53 | n/a | extern PyObject* PyInit_zlib(void); |
---|
54 | n/a | |
---|
55 | n/a | extern PyObject* PyInit__multibytecodec(void); |
---|
56 | n/a | extern PyObject* PyInit__codecs_cn(void); |
---|
57 | n/a | extern PyObject* PyInit__codecs_hk(void); |
---|
58 | n/a | extern PyObject* PyInit__codecs_iso2022(void); |
---|
59 | n/a | extern PyObject* PyInit__codecs_jp(void); |
---|
60 | n/a | extern PyObject* PyInit__codecs_kr(void); |
---|
61 | n/a | extern PyObject* PyInit__codecs_tw(void); |
---|
62 | n/a | extern PyObject* PyInit__winapi(void); |
---|
63 | n/a | extern PyObject* PyInit__lsprof(void); |
---|
64 | n/a | extern PyObject* PyInit__ast(void); |
---|
65 | n/a | extern PyObject* PyInit__io(void); |
---|
66 | n/a | extern PyObject* PyInit__pickle(void); |
---|
67 | n/a | extern PyObject* PyInit_atexit(void); |
---|
68 | n/a | extern PyObject* _PyWarnings_Init(void); |
---|
69 | n/a | extern PyObject* PyInit__string(void); |
---|
70 | n/a | extern PyObject* PyInit__stat(void); |
---|
71 | n/a | extern PyObject* PyInit__opcode(void); |
---|
72 | n/a | |
---|
73 | n/a | /* tools/freeze/makeconfig.py marker for additional "extern" */ |
---|
74 | n/a | /* -- ADDMODULE MARKER 1 -- */ |
---|
75 | n/a | |
---|
76 | n/a | extern PyObject* PyMarshal_Init(void); |
---|
77 | n/a | extern PyObject* PyInit_imp(void); |
---|
78 | n/a | |
---|
79 | n/a | struct _inittab _PyImport_Inittab[] = { |
---|
80 | n/a | |
---|
81 | n/a | {"array", PyInit_array}, |
---|
82 | n/a | {"_ast", PyInit__ast}, |
---|
83 | n/a | #ifdef MS_WINDOWS |
---|
84 | n/a | #ifndef MS_WINI64 |
---|
85 | n/a | {"audioop", PyInit_audioop}, |
---|
86 | n/a | #endif |
---|
87 | n/a | #endif |
---|
88 | n/a | {"binascii", PyInit_binascii}, |
---|
89 | n/a | {"cmath", PyInit_cmath}, |
---|
90 | n/a | {"errno", PyInit_errno}, |
---|
91 | n/a | {"faulthandler", PyInit_faulthandler}, |
---|
92 | n/a | {"gc", PyInit_gc}, |
---|
93 | n/a | {"math", PyInit_math}, |
---|
94 | n/a | {"nt", PyInit_nt}, /* Use the NT os functions, not posix */ |
---|
95 | n/a | {"_operator", PyInit__operator}, |
---|
96 | n/a | {"_signal", PyInit__signal}, |
---|
97 | n/a | {"_md5", PyInit__md5}, |
---|
98 | n/a | {"_sha1", PyInit__sha1}, |
---|
99 | n/a | {"_sha256", PyInit__sha256}, |
---|
100 | n/a | {"_sha512", PyInit__sha512}, |
---|
101 | n/a | {"_sha3", PyInit__sha3}, |
---|
102 | n/a | {"_blake2", PyInit__blake2}, |
---|
103 | n/a | {"time", PyInit_time}, |
---|
104 | n/a | #ifdef WITH_THREAD |
---|
105 | n/a | {"_thread", PyInit__thread}, |
---|
106 | n/a | #endif |
---|
107 | n/a | #ifdef WIN32 |
---|
108 | n/a | {"msvcrt", PyInit_msvcrt}, |
---|
109 | n/a | {"_locale", PyInit__locale}, |
---|
110 | n/a | #endif |
---|
111 | n/a | {"_tracemalloc", PyInit__tracemalloc}, |
---|
112 | n/a | /* XXX Should _winapi go in a WIN32 block? not WIN64? */ |
---|
113 | n/a | {"_winapi", PyInit__winapi}, |
---|
114 | n/a | |
---|
115 | n/a | {"_codecs", PyInit__codecs}, |
---|
116 | n/a | {"_weakref", PyInit__weakref}, |
---|
117 | n/a | {"_random", PyInit__random}, |
---|
118 | n/a | {"_bisect", PyInit__bisect}, |
---|
119 | n/a | {"_heapq", PyInit__heapq}, |
---|
120 | n/a | {"_lsprof", PyInit__lsprof}, |
---|
121 | n/a | {"itertools", PyInit_itertools}, |
---|
122 | n/a | {"_collections", PyInit__collections}, |
---|
123 | n/a | {"_symtable", PyInit__symtable}, |
---|
124 | n/a | {"mmap", PyInit_mmap}, |
---|
125 | n/a | {"_csv", PyInit__csv}, |
---|
126 | n/a | {"_sre", PyInit__sre}, |
---|
127 | n/a | {"parser", PyInit_parser}, |
---|
128 | n/a | {"winreg", PyInit_winreg}, |
---|
129 | n/a | {"_struct", PyInit__struct}, |
---|
130 | n/a | {"_datetime", PyInit__datetime}, |
---|
131 | n/a | {"_functools", PyInit__functools}, |
---|
132 | n/a | {"_json", PyInit__json}, |
---|
133 | n/a | |
---|
134 | n/a | {"xxsubtype", PyInit_xxsubtype}, |
---|
135 | n/a | {"zipimport", PyInit_zipimport}, |
---|
136 | n/a | {"zlib", PyInit_zlib}, |
---|
137 | n/a | |
---|
138 | n/a | /* CJK codecs */ |
---|
139 | n/a | {"_multibytecodec", PyInit__multibytecodec}, |
---|
140 | n/a | {"_codecs_cn", PyInit__codecs_cn}, |
---|
141 | n/a | {"_codecs_hk", PyInit__codecs_hk}, |
---|
142 | n/a | {"_codecs_iso2022", PyInit__codecs_iso2022}, |
---|
143 | n/a | {"_codecs_jp", PyInit__codecs_jp}, |
---|
144 | n/a | {"_codecs_kr", PyInit__codecs_kr}, |
---|
145 | n/a | {"_codecs_tw", PyInit__codecs_tw}, |
---|
146 | n/a | |
---|
147 | n/a | /* tools/freeze/makeconfig.py marker for additional "_inittab" entries */ |
---|
148 | n/a | /* -- ADDMODULE MARKER 2 -- */ |
---|
149 | n/a | |
---|
150 | n/a | /* This module "lives in" with marshal.c */ |
---|
151 | n/a | {"marshal", PyMarshal_Init}, |
---|
152 | n/a | |
---|
153 | n/a | /* This lives it with import.c */ |
---|
154 | n/a | {"_imp", PyInit_imp}, |
---|
155 | n/a | |
---|
156 | n/a | /* These entries are here for sys.builtin_module_names */ |
---|
157 | n/a | {"builtins", NULL}, |
---|
158 | n/a | {"sys", NULL}, |
---|
159 | n/a | {"_warnings", _PyWarnings_Init}, |
---|
160 | n/a | {"_string", PyInit__string}, |
---|
161 | n/a | |
---|
162 | n/a | {"_io", PyInit__io}, |
---|
163 | n/a | {"_pickle", PyInit__pickle}, |
---|
164 | n/a | {"atexit", PyInit_atexit}, |
---|
165 | n/a | {"_stat", PyInit__stat}, |
---|
166 | n/a | {"_opcode", PyInit__opcode}, |
---|
167 | n/a | |
---|
168 | n/a | /* Sentinel */ |
---|
169 | n/a | {0, 0} |
---|
170 | n/a | }; |
---|