xf.li | 8611891 | 2025-03-19 20:07:27 -0700 | [diff] [blame^] | 1 | /* -*- C -*- *********************************************** |
| 2 | Copyright (c) 2000, BeOpen.com. |
| 3 | Copyright (c) 1995-2000, Corporation for National Research Initiatives. |
| 4 | Copyright (c) 1990-1995, Stichting Mathematisch Centrum. |
| 5 | All rights reserved. |
| 6 | |
| 7 | See the file "Misc/COPYRIGHT" for information on usage and |
| 8 | redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES. |
| 9 | ******************************************************************/ |
| 10 | |
| 11 | /* Module configuration */ |
| 12 | |
| 13 | /* !!! !!! !!! This file is edited by the makesetup script !!! !!! !!! */ |
| 14 | |
| 15 | /* This file contains the table of built-in modules. |
| 16 | See create_builtin() in import.c. */ |
| 17 | |
| 18 | #include "Python.h" |
| 19 | |
| 20 | #ifdef __cplusplus |
| 21 | extern "C" { |
| 22 | #endif |
| 23 | |
| 24 | |
| 25 | /* -- ADDMODULE MARKER 1 -- */ |
| 26 | |
| 27 | extern PyObject* PyMarshal_Init(void); |
| 28 | extern PyObject* PyInit__imp(void); |
| 29 | extern PyObject* PyInit_gc(void); |
| 30 | extern PyObject* PyInit__ast(void); |
| 31 | extern PyObject* _PyWarnings_Init(void); |
| 32 | extern PyObject* PyInit__string(void); |
| 33 | |
| 34 | struct _inittab _PyImport_Inittab[] = { |
| 35 | |
| 36 | /* -- ADDMODULE MARKER 2 -- */ |
| 37 | |
| 38 | /* This module lives in marshal.c */ |
| 39 | {"marshal", PyMarshal_Init}, |
| 40 | |
| 41 | /* This lives in import.c */ |
| 42 | {"_imp", PyInit__imp}, |
| 43 | |
| 44 | /* This lives in Python/Python-ast.c */ |
| 45 | {"_ast", PyInit__ast}, |
| 46 | |
| 47 | /* These entries are here for sys.builtin_module_names */ |
| 48 | {"builtins", NULL}, |
| 49 | {"sys", NULL}, |
| 50 | |
| 51 | /* This lives in gcmodule.c */ |
| 52 | {"gc", PyInit_gc}, |
| 53 | |
| 54 | /* This lives in _warnings.c */ |
| 55 | {"_warnings", _PyWarnings_Init}, |
| 56 | |
| 57 | /* This lives in Objects/unicodeobject.c */ |
| 58 | {"_string", PyInit__string}, |
| 59 | |
| 60 | /* Sentinel */ |
| 61 | {0, 0} |
| 62 | }; |
| 63 | |
| 64 | |
| 65 | #ifdef __cplusplus |
| 66 | } |
| 67 | #endif |