Files
dl_old/third/python-cmake/cmake/config_3.c.in
T
2026-02-28 14:40:03 +08:00

59 lines
1.1 KiB
Plaintext
Vendored

#include "Python.h"
#ifdef __cplusplus
extern "C" {
#endif
@config_inits@
/* -- ADDMODULE MARKER 1 -- */
extern PyObject* PyMarshal_Init(void);
extern PyObject* @PyInit_imp@(void);
extern PyObject* PyInit_gc(void);
extern PyObject* PyInit__ast(void);
extern PyObject* _PyWarnings_Init(void);
extern PyObject* PyInit__string(void);
extern PyObject* PyInit__signal(void);
struct _inittab _PyImport_Inittab[] = {
@config_entries@
/* -- ADDMODULE MARKER 2 -- */
/* This module lives in marshal.c */
{"marshal", PyMarshal_Init},
/* This lives in import.c */
{"_imp", @PyInit_imp@},
/* This lives in Python/Python-ast.c */
{"_ast", PyInit__ast},
/* These entries are here for sys.builtin_module_names */
{"builtins", NULL},
{"sys", NULL},
/* This lives in gcmodule.c */
{"gc", PyInit_gc},
/* This lives in _warnings.c */
{"_warnings", _PyWarnings_Init},
/* This lives in Objects/unicodeobject.c */
{"_string", PyInit__string},
{"_signal", PyInit__signal},
/* Sentinel */
{0, 0}
};
#ifdef __cplusplus
}
#endif