Commit | Line | Data |
---|---|---|
920dae64 AT |
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 | ||
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 | ||
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 | ||
21 | /* -- ADDMODULE MARKER 1 -- */ | |
22 | ||
23 | extern void PyMarshal_Init(void); | |
24 | extern void initimp(void); | |
25 | extern void initgc(void); | |
26 | ||
27 | struct _inittab _PyImport_Inittab[] = { | |
28 | ||
29 | /* -- ADDMODULE MARKER 2 -- */ | |
30 | ||
31 | /* This module lives in marshal.c */ | |
32 | {"marshal", PyMarshal_Init}, | |
33 | ||
34 | /* This lives in import.c */ | |
35 | {"imp", initimp}, | |
36 | ||
37 | /* These entries are here for sys.builtin_module_names */ | |
38 | {"__main__", NULL}, | |
39 | {"__builtin__", NULL}, | |
40 | {"sys", NULL}, | |
41 | {"exceptions", NULL}, | |
42 | ||
43 | /* This lives in gcmodule.c */ | |
44 | {"gc", initgc}, | |
45 | ||
46 | /* Sentinel */ | |
47 | {0, 0} | |
48 | }; |