source: vendor/python/2.5/Modules/config.c.in

Last change on this file was 3225, checked in by bird, 18 years ago

Python 2.5

File size: 1.4 KB
Line 
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 init_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 void PyMarshal_Init(void);
28extern void initimp(void);
29extern void initgc(void);
30extern void init_ast(void);
31extern void init_types(void);
32
33struct _inittab _PyImport_Inittab[] = {
34
35/* -- ADDMODULE MARKER 2 -- */
36
37 /* This module lives in marshal.c */
38 {"marshal", PyMarshal_Init},
39
40 /* This lives in import.c */
41 {"imp", initimp},
42
43 /* This lives in Python/Python-ast.c */
44 {"_ast", init_ast},
45
46 /* This lives in Python/_types.c */
47 {"_types", init_types},
48
49 /* These entries are here for sys.builtin_module_names */
50 {"__main__", NULL},
51 {"__builtin__", NULL},
52 {"sys", NULL},
53 {"exceptions", NULL},
54
55 /* This lives in gcmodule.c */
56 {"gc", initgc},
57
58 /* Sentinel */
59 {0, 0}
60};
61
62
63#ifdef __cplusplus
64}
65#endif
66
Note: See TracBrowser for help on using the repository browser.