Reicher82 / python / sbpython3

Forked from python/sbpython3 3 years ago
Clone

Blame project/variants/3.7.2/linkage/inittab.h

5a6632
#ifndef PY_LINKAGE_INITTAB_H
5a6632
#define PY_LINKAGE_INITTAB_H
5a6632
5a6632
#define PY_CORE_INIT(x) extern void x##_Init(void)
5a6632
#define PY_INIT_FUNC(x) extern void PyInit_##x(void)
5a6632
#define PY_INIT_PTR(x)  void (*x)(void)
5a6632
5a6632
#ifdef   PY_ALL_STATIC
5a6632
#include "static.h"
5a6632
#endif
5a6632
5a6632
#ifdef   PY_FOR_PYCOMPILE
5a6632
#include "pycompile.h"
5a6632
#endif
5a6632
5a6632
struct _inittab {
5a6632
	char * name;
5a6632
	PY_INIT_PTR(initfunc);
5a6632
};
5a6632
5a6632
PY_CORE_INIT(_PyWarnings);
5a6632
PY_CORE_INIT(PyMarshal);
5a6632
5a6632
PY_INIT_FUNC(_ast);
5a6632
PY_INIT_FUNC(_string);
5a6632
PY_INIT_FUNC(_imp);
5a6632
PY_INIT_FUNC(gc);
5a6632
5a6632
PY_INIT_FUNC(_abc);
5a6632
PY_INIT_FUNC(_codecs);
5a6632
PY_INIT_FUNC(_collections);
5a6632
PY_INIT_FUNC(_functools);
5a6632
PY_INIT_FUNC(_io);
5a6632
PY_INIT_FUNC(_locale);
5a6632
PY_INIT_FUNC(_operator);
5a6632
PY_INIT_FUNC(_signal);
5a6632
PY_INIT_FUNC(_sre);
5a6632
PY_INIT_FUNC(_stat);
5a6632
PY_INIT_FUNC(_symtable);
5a6632
PY_INIT_FUNC(_thread);
5a6632
PY_INIT_FUNC(_tracemalloc);
5a6632
PY_INIT_FUNC(_weakref);
5a6632
5a6632
PY_INIT_FUNC(atexit);
5a6632
PY_INIT_FUNC(errno);
5a6632
PY_INIT_FUNC(faulthandler);
5a6632
PY_INIT_FUNC(itertools);
5a6632
PY_INIT_FUNC(posix);
5a6632
PY_INIT_FUNC(pwd);
5a6632
PY_INIT_FUNC(time);
5a6632
PY_INIT_FUNC(xxsubtype);
5a6632
PY_INIT_FUNC(zipimport);
5a6632
5a6632
#define PY_IMPORT_INITTAB_BASE                  \
5a6632
	{"builtins",    0},                     \
5a6632
	{"sys",         0},                     \
5a6632
	{"_ast",        PyInit__ast},           \
5a6632
	{"_imp",        PyInit__imp},           \
5a6632
	{"_string",     PyInit__string},        \
5a6632
	{"gc",          PyInit_gc},             \
5a6632
	{"marshal",     PyMarshal_Init},        \
5a6632
	{"_warnings",   _PyWarnings_Init}
5a6632
5a6632
5a6632
#define PY_IMPORT_INITTAB_COMMON                      \
5a6632
	{"_abc",                PyInit__abc},         \
5a6632
	{"_codecs",             PyInit__codecs},      \
5a6632
	{"_collections",        PyInit__collections}, \
5a6632
	{"_functools",          PyInit__functools},   \
5a6632
	{"_io",                 PyInit__io},          \
5a6632
	{"_locale",             PyInit__locale},      \
5a6632
	{"_operator",           PyInit__operator},    \
5a6632
	{"_signal",             PyInit__signal},      \
5a6632
	{"_sre",                PyInit__sre},         \
5a6632
	{"_stat",               PyInit__stat},        \
5a6632
	{"_symtable",           PyInit__symtable},    \
5a6632
	{"_thread",             PyInit__thread},      \
5a6632
	{"_tracemalloc",        PyInit__tracemalloc}, \
5a6632
	{"_weakref",            PyInit__weakref},     \
5a6632
	{"atexit",              PyInit_atexit},       \
5a6632
	{"errno",               PyInit_errno},        \
5a6632
	{"faulthandler",        PyInit_faulthandler}, \
5a6632
	{"itertools",           PyInit_itertools},    \
5a6632
	{"posix",               PyInit_posix},        \
5a6632
	{"pwd",                 PyInit_pwd},          \
5a6632
	{"time",                PyInit_time},         \
5a6632
	{"xxsubtype",           PyInit_xxsubtype},    \
5a6632
	{"zipimport",           PyInit_zipimport}
5a6632
5a6632
5a6632
#define PY_IMPORT_INITTAB_ANYOS_CORE                            \
5a6632
	{"_asyncio",            PyInit__asyncio},               \
5a6632
	{"_bisect",             PyInit__bisect},                \
5a6632
	{"_blake2",             PyInit__blake2},                \
5a6632
	{"_bz2",                PyInit__bz2},                   \
5a6632
	{"_codecs_cn",          PyInit__codecs_cn},             \
5a6632
	{"_codecs_hk",          PyInit__codecs_hk},             \
5a6632
	{"_codecs_iso2022",     PyInit__codecs_iso2022},        \
5a6632
	{"_codecs_jp",          PyInit__codecs_jp},             \
5a6632
	{"_codecs_kr",          PyInit__codecs_kr},             \
5a6632
	{"_codecs_tw",          PyInit__codecs_tw},             \
5a6632
	{"_contextvars",        PyInit__contextvars},           \
5a6632
	{"_crypt",              PyInit__crypt},                 \
5a6632
	{"_csv",                PyInit__csv},                   \
5a6632
	{"_ctypes",             PyInit__ctypes},                \
5a6632
	{"_ctypes_test",        PyInit__ctypes_test},           \
5a6632
	{"_curses",             PyInit__curses},                \
5a6632
	{"_curses_panel",       PyInit__curses_panel},          \
5a6632
	{"_datetime",           PyInit__datetime},              \
5a6632
	{"_dbm",                PyInit__dbm},                   \
5a6632
	{"_decimal",            PyInit__decimal},               \
5a6632
	{"_elementtree",        PyInit__elementtree},           \
5a6632
	{"_gdbm",               PyInit__gdbm},                  \
5a6632
	{"_hashlib",            PyInit__hashlib},               \
5a6632
	{"_heapq",              PyInit__heapq},                 \
5a6632
	{"_json",               PyInit__json},                  \
5a6632
	{"_lsprof",             PyInit__lsprof},                \
5a6632
	{"_lzma",               PyInit__lzma},                  \
5a6632
	{"_md5",                PyInit__md5},                   \
5a6632
	{"_multibytecodec",     PyInit__multibytecodec},        \
5a6632
	{"_multiprocessing",    PyInit__multiprocessing},       \
5a6632
	{"_opcode",             PyInit__opcode},                \
5a6632
	{"_pickle",             PyInit__pickle},                \
5a6632
	{"_posixsubprocess",    PyInit__posixsubprocess},       \
5a6632
	{"_queue",              PyInit__queue},                 \
5a6632
	{"_random",             PyInit__random},                \
5a6632
	{"_sha1",               PyInit__sha1},                  \
5a6632
	{"_sha256",             PyInit__sha256},                \
5a6632
	{"_sha3",               PyInit__sha3},                  \
5a6632
	{"_sha512",             PyInit__sha512},                \
5a6632
	{"_socket",             PyInit__socket},                \
5a6632
	{"_sqlite3",            PyInit__sqlite3},               \
5a6632
	{"_struct",             PyInit__struct},                \
5a6632
	{"_testbuffer",         PyInit__testbuffer},            \
5a6632
	{"_testcapi",           PyInit__testcapi},              \
5a6632
	{"_testimportmultiple", PyInit__testimportmultiple},    \
5a6632
	{"_testmultiphase",     PyInit__testmultiphase},        \
5a6632
	{"_uuid",               PyInit__uuid},                  \
5a6632
	{"_xxtestfuzz",         PyInit__xxtestfuzz},            \
5a6632
	{"array",               PyInit_array},                  \
5a6632
	{"binascii",            PyInit_binascii},               \
5a6632
	{"cmath",               PyInit_cmath},                  \
5a6632
	{"fcntl",               PyInit_fcntl},                  \
5a6632
	{"grp",                 PyInit_grp},                    \
5a6632
	{"math",                PyInit_math},                   \
5a6632
	{"mmap",                PyInit_mmap},                   \
5a6632
	{"parser",              PyInit_parser},                 \
5a6632
	{"pyexpat",             PyInit_pyexpat},                \
5a6632
	{"readline",            PyInit_readline},               \
5a6632
	{"resource",            PyInit_resource},               \
5a6632
	{"select",              PyInit_select},                 \
5a6632
	{"spwd",                PyInit_spwd},                   \
5a6632
	{"syslog",              PyInit_syslog},                 \
5a6632
	{"termios",             PyInit_termios},                \
5a6632
	{"unicodedata",         PyInit_unicodedata},            \
5a6632
	{"xxlimited",           PyInit_xxlimited},              \
5a6632
	{"zlib",                PyInit_zlib}
5a6632
5a6632
5a6632
#define PY_IMPORT_INITTAB_ANYOS_AUDIO                           \
5a6632
	{"audioop",             PyInit_audioop},                \
5a6632
	{"ossaudiodev",         PyInit_ossaudiodev}
5a6632
5a6632
5a6632
#define PY_IMPORT_INITTAB_ANYOS_SSL                             \
5a6632
	{"_ssl",                PyInit__ssl}
5a6632
5a6632
5a6632
#define PY_IMPORT_INITTAB_ANYOS_TCLTK                           \
5a6632
	{"_tkinter",            PyInit__tkinter}
5a6632
5a6632
#endif