summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>2001-08-30 00:12:32 (GMT)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>2001-08-30 00:12:32 (GMT)
commit7d0e19e1f43aee2b800ea8643bec4ee1d8cf9b96 (patch)
tree3e2018b8ad8c67c2140ac6912599aa18f7a294b2
parent43411b56832819104ac8fb1e31013ad4a7db866c (diff)
downloadcpython-7d0e19e1f43aee2b800ea8643bec4ee1d8cf9b96.zip
cpython-7d0e19e1f43aee2b800ea8643bec4ee1d8cf9b96.tar.gz
cpython-7d0e19e1f43aee2b800ea8643bec4ee1d8cf9b96.tar.bz2
gcmodule is now enabled here
-rw-r--r--Modules/config.c.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/Modules/config.c.in b/Modules/config.c.in
index 0d5e8b0..0218c8d 100644
--- a/Modules/config.c.in
+++ b/Modules/config.c.in
@@ -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}
};