cpython/Modules/config.c.in

51 lines
1.2 KiB
C
Raw Normal View History

/* -*- C -*- ***********************************************
2000-06-30 20:50:40 -03:00
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.
1991-02-19 08:39:46 -04:00
******************************************************************/
/* Module configuration */
1990-12-20 19:03:58 -04:00
/* !!! !!! !!! This file is edited by the makesetup script !!! !!! !!! */
/* This file contains the table of built-in modules.
See init_builtin() in import.c. */
#include "Python.h"
/* -- ADDMODULE MARKER 1 -- */
1991-06-04 16:47:46 -03:00
extern void PyMarshal_Init(void);
extern void initimp(void);
2001-08-29 21:12:32 -03:00
extern void initgc(void);
1997-04-29 17:31:59 -03:00
struct _inittab _PyImport_Inittab[] = {
/* -- ADDMODULE MARKER 2 -- */
2000-11-29 21:57:18 -04:00
/* This module lives in marshal.c */
{"marshal", PyMarshal_Init},
2000-11-29 21:57:18 -04:00
/* This lives in import.c */
{"imp", initimp},
/* These entries are here for sys.builtin_module_names */
{"__main__", NULL},
{"__builtin__", NULL},
{"sys", NULL},
2001-08-02 01:15:00 -03:00
{"exceptions", NULL},
2001-08-29 21:12:32 -03:00
#ifdef WITH_CYCLE_GC
/* This lives in gcmodule.c */
{"gc", initgc},
#endif
/* Sentinel */
{0, 0}
};