config.c.in 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. See the file "Misc/COPYRIGHT" for information on usage and
  7. redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
  8. ******************************************************************/
  9. /* Module configuration */
  10. /* !!! !!! !!! This file is edited by the makesetup script !!! !!! !!! */
  11. /* This file contains the table of built-in modules.
  12. See create_builtin() in import.c. */
  13. #include "Python.h"
  14. #ifdef __cplusplus
  15. extern "C" {
  16. #endif
  17. /* -- ADDMODULE MARKER 1 -- */
  18. extern PyObject* PyMarshal_Init(void);
  19. extern PyObject* PyInit__imp(void);
  20. extern PyObject* PyInit_gc(void);
  21. extern PyObject* PyInit__ast(void);
  22. extern PyObject* PyInit__tokenize(void);
  23. extern PyObject* _PyWarnings_Init(void);
  24. extern PyObject* PyInit__string(void);
  25. struct _inittab _PyImport_Inittab[] = {
  26. /* -- ADDMODULE MARKER 2 -- */
  27. /* This module lives in marshal.c */
  28. {"marshal", PyMarshal_Init},
  29. /* This lives in import.c */
  30. {"_imp", PyInit__imp},
  31. /* This lives in Python/Python-ast.c */
  32. {"_ast", PyInit__ast},
  33. /* This lives in Python/Python-tokenizer.c */
  34. {"_tokenize", PyInit__tokenize},
  35. /* These entries are here for sys.builtin_module_names */
  36. {"builtins", NULL},
  37. {"sys", NULL},
  38. /* This lives in gcmodule.c */
  39. {"gc", PyInit_gc},
  40. /* This lives in _warnings.c */
  41. {"_warnings", _PyWarnings_Init},
  42. /* This lives in Objects/unicodeobject.c */
  43. {"_string", PyInit__string},
  44. /* Sentinel */
  45. {0, 0}
  46. };
  47. #ifdef __cplusplus
  48. }
  49. #endif