final patches from Neil Schemenauer for garbage collection

This commit is contained in:
Jeremy Hylton 2000-06-30 05:02:53 +00:00
parent 4e542a3d99
commit c5007aa5c3
16 changed files with 956 additions and 18 deletions

View file

@ -43,6 +43,9 @@ extern void initbinascii();
#endif
extern void initcmath();
extern void initerrno();
#ifdef WITH_CYCLE_GC
extern void initgc();
#endif
#ifndef MS_WIN64
extern void initimageop();
#endif
@ -89,6 +92,9 @@ struct _inittab _PyImport_Inittab[] = {
#endif
{"cmath", initcmath},
{"errno", initerrno},
#ifdef WITH_CYCLE_GC
{"gc", initgc},
#endif
#ifndef MS_WIN64
{"imageop", initimageop},
#endif

View file

@ -451,6 +451,9 @@ typedef long intptr_t;
/* Define if you want to use the GNU readline library */
/* #define WITH_READLINE 1 */
/* Define if you want cycle garbage collection */
/* #define WITH_CYCLE_GC 1 */
/* Define if you have clock. */
/* #define HAVE_CLOCK */