135 lines
4.3 KiB
Text
135 lines
4.3 KiB
Text
|
#include <Python.h>
|
||
|
|
||
|
extern PyObject* PyInit_posix(void);
|
||
|
extern PyObject* PyInit_pwd(void);
|
||
|
extern PyObject* PyInit_fcntl(void);
|
||
|
extern PyObject* PyInit__posixsubprocess(void);
|
||
|
extern PyObject* PyInit_termios(void);
|
||
|
extern PyObject* PyInit_audioop(void);
|
||
|
extern PyObject* PyInit__locale(void);
|
||
|
extern PyObject* PyInit_array(void);
|
||
|
extern PyObject* PyInit_binascii(void);
|
||
|
extern PyObject* PyInit_cmath(void);
|
||
|
extern PyObject* PyInit_errno(void);
|
||
|
extern PyObject* PyInit_faulthandler(void);
|
||
|
extern PyObject* PyInit__tracemalloc(void);
|
||
|
extern PyObject* PyInit_gc(void);
|
||
|
extern PyObject* PyInit_math(void);
|
||
|
extern PyObject* PyInit__md5(void);
|
||
|
extern PyObject* PyInit__operator(void);
|
||
|
extern PyObject* PyInit__signal(void);
|
||
|
extern PyObject* PyInit__sha1(void);
|
||
|
extern PyObject* PyInit__sha256(void);
|
||
|
extern PyObject* PyInit__sha512(void);
|
||
|
extern PyObject* PyInit_time(void);
|
||
|
extern PyObject* PyInit__thread(void);
|
||
|
extern PyObject* PyInit__codecs(void);
|
||
|
extern PyObject* PyInit__weakref(void);
|
||
|
extern PyObject* PyInit_xxsubtype(void);
|
||
|
extern PyObject* PyInit__random(void);
|
||
|
extern PyObject* PyInit_itertools(void);
|
||
|
extern PyObject* PyInit__collections(void);
|
||
|
extern PyObject* PyInit__heapq(void);
|
||
|
extern PyObject* PyInit__bisect(void);
|
||
|
extern PyObject* PyInit__symtable(void);
|
||
|
extern PyObject* PyInit_mmap(void);
|
||
|
extern PyObject* PyInit__csv(void);
|
||
|
extern PyObject* PyInit__sre(void);
|
||
|
extern PyObject* PyInit__struct(void);
|
||
|
extern PyObject* PyInit__datetime(void);
|
||
|
extern PyObject* PyInit__functools(void);
|
||
|
extern PyObject* PyInit_zlib(void);
|
||
|
extern PyObject* PyInit__multibytecodec(void);
|
||
|
extern PyObject* PyInit__codecs_cn(void);
|
||
|
extern PyObject* PyInit__codecs_hk(void);
|
||
|
extern PyObject* PyInit__codecs_iso2022(void);
|
||
|
extern PyObject* PyInit__codecs_jp(void);
|
||
|
extern PyObject* PyInit__codecs_kr(void);
|
||
|
extern PyObject* PyInit__codecs_tw(void);
|
||
|
extern PyObject* PyInit__winapi(void);
|
||
|
extern PyObject* PyInit__lsprof(void);
|
||
|
extern PyObject* PyInit__ast(void);
|
||
|
extern PyObject* PyInit__io(void);
|
||
|
extern PyObject* PyInit_atexit(void);
|
||
|
extern PyObject* _PyWarnings_Init(void);
|
||
|
extern PyObject* PyInit__string(void);
|
||
|
extern PyObject* PyInit__stat(void);
|
||
|
extern PyObject* PyInit__opcode(void);
|
||
|
extern PyObject* PyMarshal_Init(void);
|
||
|
extern PyObject* PyInit__imp(void);
|
||
|
|
||
|
struct _inittab _PyImport_Inittab[] = {
|
||
|
{"posix", PyInit_posix},
|
||
|
{"pwd", PyInit_pwd},
|
||
|
{"fcntl", PyInit_fcntl},
|
||
|
{"_posixsubprocess", PyInit__posixsubprocess},
|
||
|
{"termios", PyInit_termios},
|
||
|
{"audioop", PyInit_audioop},
|
||
|
{"_locale", PyInit__locale},
|
||
|
{"array", PyInit_array},
|
||
|
{"_ast", PyInit__ast},
|
||
|
{"binascii", PyInit_binascii},
|
||
|
{"cmath", PyInit_cmath},
|
||
|
{"errno", PyInit_errno},
|
||
|
{"faulthandler", PyInit_faulthandler},
|
||
|
{"gc", PyInit_gc},
|
||
|
{"math", PyInit_math},
|
||
|
{"_operator", PyInit__operator},
|
||
|
{"_signal", PyInit__signal},
|
||
|
{"_md5", PyInit__md5},
|
||
|
{"_sha1", PyInit__sha1},
|
||
|
{"_sha256", PyInit__sha256},
|
||
|
{"_sha512", PyInit__sha512},
|
||
|
{"time", PyInit_time},
|
||
|
{"_thread", PyInit__thread},
|
||
|
{"_tracemalloc", PyInit__tracemalloc},
|
||
|
{"_codecs", PyInit__codecs},
|
||
|
{"_weakref", PyInit__weakref},
|
||
|
{"_random", PyInit__random},
|
||
|
{"_bisect", PyInit__bisect},
|
||
|
{"_heapq", PyInit__heapq},
|
||
|
{"_lsprof", PyInit__lsprof},
|
||
|
{"itertools", PyInit_itertools},
|
||
|
{"_collections", PyInit__collections},
|
||
|
{"_symtable", PyInit__symtable},
|
||
|
{"mmap", PyInit_mmap},
|
||
|
{"_csv", PyInit__csv},
|
||
|
{"_sre", PyInit__sre},
|
||
|
{"_struct", PyInit__struct},
|
||
|
{"_datetime", PyInit__datetime},
|
||
|
{"_functools", PyInit__functools},
|
||
|
|
||
|
{"xxsubtype", PyInit_xxsubtype},
|
||
|
{"zlib", PyInit_zlib},
|
||
|
|
||
|
/* CJK codecs */
|
||
|
{"_multibytecodec", PyInit__multibytecodec},
|
||
|
{"_codecs_cn", PyInit__codecs_cn},
|
||
|
{"_codecs_hk", PyInit__codecs_hk},
|
||
|
{"_codecs_iso2022", PyInit__codecs_iso2022},
|
||
|
{"_codecs_jp", PyInit__codecs_jp},
|
||
|
{"_codecs_kr", PyInit__codecs_kr},
|
||
|
{"_codecs_tw", PyInit__codecs_tw},
|
||
|
|
||
|
/* This module "lives in" with marshal.c */
|
||
|
{"marshal", PyMarshal_Init},
|
||
|
|
||
|
/* This lives it with import.c */
|
||
|
{"_imp", PyInit__imp},
|
||
|
|
||
|
/* These entries are here for sys.builtin_module_names */
|
||
|
{"builtins", NULL},
|
||
|
{"sys", NULL},
|
||
|
{"_warnings", _PyWarnings_Init},
|
||
|
{"_string", PyInit__string},
|
||
|
|
||
|
{"_io", PyInit__io},
|
||
|
{"atexit", PyInit_atexit},
|
||
|
{"_stat", PyInit__stat},
|
||
|
{"_opcode", PyInit__opcode},
|
||
|
|
||
|
/* Sentinel */
|
||
|
{0, 0}
|
||
|
};
|
||
|
|