Merged revisions 74356-74357 via svnmerge from
[python/dscho.git] / Modules / config.c.in
blob5d8f5a96e83d167f6b0017f4081d8aeeddfa2e1a
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.
7 See the file "Misc/COPYRIGHT" for information on usage and
8 redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
9 ******************************************************************/
11 /* Module configuration */
13 /* !!! !!! !!! This file is edited by the makesetup script !!! !!! !!! */
15 /* This file contains the table of built-in modules.
16 See init_builtin() in import.c. */
18 #include "Python.h"
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
25 /* -- ADDMODULE MARKER 1 -- */
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);
33 struct _inittab _PyImport_Inittab[] = {
35 /* -- ADDMODULE MARKER 2 -- */
37 /* This module lives in marshal.c */
38 {"marshal", PyMarshal_Init},
40 /* This lives in import.c */
41 {"imp", PyInit_imp},
43 /* This lives in Python/Python-ast.c */
44 {"_ast", PyInit__ast},
46 /* These entries are here for sys.builtin_module_names */
47 {"__main__", NULL},
48 {"builtins", NULL},
49 {"sys", NULL},
51 /* This lives in gcmodule.c */
52 {"gc", PyInit_gc},
54 /* This lives in _warnings.c */
55 {"_warnings", _PyWarnings_Init},
57 /* Sentinel */
58 {0, 0}
62 #ifdef __cplusplus
64 #endif