• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/* -*- C -*- ***********************************************
2Copyright (c) 2000, BeOpen.com.
3Copyright (c) 1995-2000, Corporation for National Research Initiatives.
4Copyright (c) 1990-1995, Stichting Mathematisch Centrum.
5All rights reserved.
6
7See the file "Misc/COPYRIGHT" for information on usage and
8redistribution 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
21extern "C" {
22#endif
23
24
25/* -- ADDMODULE MARKER 1 -- */
26
27extern PyObject* PyMarshal_Init(void);
28extern PyObject* PyInit__imp(void);
29extern PyObject* PyInit_gc(void);
30extern PyObject* PyInit__ast(void);
31extern PyObject* _PyWarnings_Init(void);
32extern PyObject* PyInit__string(void);
33
34struct _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
68