gcmodule is now enabled here

This commit is contained in:
Neil Schemenauer 2001-08-30 00:12:32 +00:00
parent 43411b5683
commit 7d0e19e1f4
1 changed files with 6 additions and 0 deletions

View File

@ -22,6 +22,7 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
extern void PyMarshal_Init(void); extern void PyMarshal_Init(void);
extern void initimp(void); extern void initimp(void);
extern void initgc(void);
struct _inittab _PyImport_Inittab[] = { struct _inittab _PyImport_Inittab[] = {
@ -39,6 +40,11 @@ struct _inittab _PyImport_Inittab[] = {
{"sys", NULL}, {"sys", NULL},
{"exceptions", NULL}, {"exceptions", NULL},
#ifdef WITH_CYCLE_GC
/* This lives in gcmodule.c */
{"gc", initgc},
#endif
/* Sentinel */ /* Sentinel */
{0, 0} {0, 0}
}; };