]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Added support for the gc module (!).
authorJust van Rossum <just@letterror.com>
Thu, 21 Jun 2001 14:50:03 +0000 (14:50 +0000)
committerJust van Rossum <just@letterror.com>
Thu, 21 Jun 2001 14:50:03 +0000 (14:50 +0000)
Mac/Modules/macconfig.c

index 266ac3bb196118eb3065d36b5650f051b63f9343..62fa76b72c80e49458726b44336913e730023209 100644 (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},