Commit 50cb38df authored by Just van Rossum's avatar Just van Rossum

Added support for the gc module (!).

parent 14e18716
...@@ -162,6 +162,9 @@ extern void initthread(); ...@@ -162,6 +162,9 @@ extern void initthread();
#ifdef USE_PYEXPAT #ifdef USE_PYEXPAT
extern void initpyexpat(); extern void initpyexpat();
#endif #endif
#ifdef WITH_CYCLE_GC
extern void initgc();
#endif
extern void initcPickle(); extern void initcPickle();
extern void initcStringIO(); extern void initcStringIO();
...@@ -285,6 +288,9 @@ struct _inittab _PyImport_Inittab[] = { ...@@ -285,6 +288,9 @@ struct _inittab _PyImport_Inittab[] = {
#endif #endif
#ifdef USE_PYEXPAT #ifdef USE_PYEXPAT
{"pyexpat", initpyexpat}, {"pyexpat", initpyexpat},
#endif
#ifdef WITH_CYCLE_GC
{"gc", initgc},
#endif #endif
{"cPickle", initcPickle}, {"cPickle", initcPickle},
{"cStringIO", initcStringIO}, {"cStringIO", initcStringIO},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment