config.c 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. /* Generated automatically from ../Python-2.7.12/Modules/config.c.in by makesetup. */
  2. /* -*- C -*- ***********************************************
  3. Copyright (c) 2000, BeOpen.com.
  4. Copyright (c) 1995-2000, Corporation for National Research Initiatives.
  5. Copyright (c) 1990-1995, Stichting Mathematisch Centrum.
  6. All rights reserved.
  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. /* Module configuration */
  11. /* !!! !!! !!! This file is edited by the makesetup script !!! !!! !!! */
  12. /* This file contains the table of built-in modules.
  13. See init_builtin() in import.c. */
  14. #include "Python.h"
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif
  18. extern void initthread(void);
  19. extern void initsignal(void);
  20. extern void initposix(void);
  21. extern void initerrno(void);
  22. extern void initpwd(void);
  23. extern void init_sre(void);
  24. extern void init_codecs(void);
  25. extern void init_weakref(void);
  26. extern void initzipimport(void);
  27. extern void init_symtable(void);
  28. extern void init_md5(void);
  29. extern void initxxsubtype(void);
  30. /* -- ADDMODULE MARKER 1 -- */
  31. extern void PyMarshal_Init(void);
  32. extern void initimp(void);
  33. extern void initgc(void);
  34. extern void init_ast(void);
  35. extern void _PyWarnings_Init(void);
  36. struct _inittab _PyImport_Inittab[] = {
  37. {"thread", initthread},
  38. {"signal", initsignal},
  39. {"posix", initposix},
  40. {"errno", initerrno},
  41. {"pwd", initpwd},
  42. {"_sre", init_sre},
  43. {"_codecs", init_codecs},
  44. {"_weakref", init_weakref},
  45. {"zipimport", initzipimport},
  46. {"_symtable", init_symtable},
  47. {"_md5", init_md5},
  48. {"xxsubtype", initxxsubtype},
  49. /* -- ADDMODULE MARKER 2 -- */
  50. /* This module lives in marshal.c */
  51. {"marshal", PyMarshal_Init},
  52. /* This lives in import.c */
  53. {"imp", initimp},
  54. /* This lives in Python/Python-ast.c */
  55. {"_ast", init_ast},
  56. /* These entries are here for sys.builtin_module_names */
  57. {"__main__", NULL},
  58. {"__builtin__", NULL},
  59. {"sys", NULL},
  60. {"exceptions", NULL},
  61. /* This lives in gcmodule.c */
  62. {"gc", initgc},
  63. /* This lives in _warnings.c */
  64. {"_warnings", _PyWarnings_Init},
  65. /* Sentinel */
  66. {0, 0}
  67. };
  68. #ifdef __cplusplus
  69. }
  70. #endif