config.c.in 1.1 KB
Newer Older
1
/* -*- C -*- ***********************************************
2 3 4 5 6 7 8
Copyright (c) 2000, BeOpen.com.
Copyright (c) 1995-2000, Corporation for National Research Initiatives.
Copyright (c) 1990-1995, Stichting Mathematisch Centrum.
All rights reserved.

See the file "Misc/COPYRIGHT" for information on usage and
redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
9 10
******************************************************************/

11
/* Module configuration */
Guido van Rossum's avatar
Guido van Rossum committed
12

13
/* !!! !!! !!! This file is edited by the makesetup script !!! !!! !!! */
14

15 16
/* This file contains the table of built-in modules.
   See init_builtin() in import.c. */
17

18
#include "Python.h"
19

20

21
/* -- ADDMODULE MARKER 1 -- */
22

23 24
extern void PyMarshal_Init(void);
extern void initimp(void);
25

Guido van Rossum's avatar
Guido van Rossum committed
26
struct _inittab _PyImport_Inittab[] = {
27

28
/* -- ADDMODULE MARKER 2 -- */
29

30
	/* This module lives in marshal.c */
31
	{"marshal", PyMarshal_Init},
32

33
	/* This lives in import.c */
34 35
	{"imp", initimp},

36 37 38 39
	/* These entries are here for sys.builtin_module_names */
	{"__main__", NULL},
	{"__builtin__", NULL},
	{"sys", NULL},
40
	{"exceptions", init_exceptions},
41

42 43
	/* Sentinel */
	{0, 0}
44
};