Added support for the gc module (!).

This commit is contained in:
Just van Rossum 2001-06-21 14:50:03 +00:00
parent 14e1871607
commit 50cb38df43

View file

@ -162,6 +162,9 @@ extern void initthread();
#ifdef USE_PYEXPAT
extern void initpyexpat();
#endif
#ifdef WITH_CYCLE_GC
extern void initgc();
#endif
extern void initcPickle();
extern void initcStringIO();
@ -285,6 +288,9 @@ struct _inittab _PyImport_Inittab[] = {
#endif
#ifdef USE_PYEXPAT
{"pyexpat", initpyexpat},
#endif
#ifdef WITH_CYCLE_GC
{"gc", initgc},
#endif
{"cPickle", initcPickle},
{"cStringIO", initcStringIO},