summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJust van Rossum <just@letterror.com>2001-06-21 14:50:03 (GMT)
committerJust van Rossum <just@letterror.com>2001-06-21 14:50:03 (GMT)
commit50cb38df43e8b9f0abe2e0cc1218a8a899862417 (patch)
tree77ba9aa4aa0a9d7849af92384b938bd1fc99f6ed
parent14e1871607a31ec06c33d2745e26d119af9aef54 (diff)
downloadcpython-50cb38df43e8b9f0abe2e0cc1218a8a899862417.zip
cpython-50cb38df43e8b9f0abe2e0cc1218a8a899862417.tar.gz
cpython-50cb38df43e8b9f0abe2e0cc1218a8a899862417.tar.bz2
Added support for the gc module (!).
-rw-r--r--Mac/Modules/macconfig.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/Mac/Modules/macconfig.c b/Mac/Modules/macconfig.c
index 266ac3b..62fa76b 100644
--- a/Mac/Modules/macconfig.c
+++ b/Mac/Modules/macconfig.c
@@ -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();
@@ -286,6 +289,9 @@ struct _inittab _PyImport_Inittab[] = {
#ifdef USE_PYEXPAT
{"pyexpat", initpyexpat},
#endif
+#ifdef WITH_CYCLE_GC
+ {"gc", initgc},
+#endif
{"cPickle", initcPickle},
{"cStringIO", initcStringIO},
{"_locale", init_locale},