]> granicus.if.org Git - python/commitdiff
gcmodule is now enabled here
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>
Thu, 30 Aug 2001 00:12:32 +0000 (00:12 +0000)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>
Thu, 30 Aug 2001 00:12:32 +0000 (00:12 +0000)
Modules/config.c.in

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