[Python-checkins] CVS: python/dist/src/PC config.c,1.22,1.23 config.h,1.38,1.39

Jeremy Hylton python-dev@python.org
Thu, 29 Jun 2000 22:02:56 -0700


Update of /cvsroot/python/python/dist/src/PC
In directory slayer.i.sourceforge.net:/tmp/cvs-serv3220/PC

Modified Files:
	config.c config.h 
Log Message:
final patches from Neil Schemenauer for garbage collection


Index: config.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/PC/config.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -r1.22 -r1.23
*** config.c	2000/05/08 14:15:19	1.22
--- config.c	2000/06/30 05:02:53	1.23
***************
*** 44,47 ****
--- 44,50 ----
  extern void initcmath();
  extern void initerrno();
+ #ifdef WITH_CYCLE_GC
+ extern void initgc();
+ #endif
  #ifndef MS_WIN64
  extern void initimageop();
***************
*** 90,93 ****
--- 93,99 ----
          {"cmath", initcmath},
          {"errno", initerrno},
+ #ifdef WITH_CYCLE_GC
+         {"gc", initgc},
+ #endif
  #ifndef MS_WIN64
          {"imageop", initimageop},

Index: config.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/PC/config.h,v
retrieving revision 1.38
retrieving revision 1.39
diff -C2 -r1.38 -r1.39
*** config.h	2000/06/29 20:44:47	1.38
--- config.h	2000/06/30 05:02:53	1.39
***************
*** 452,455 ****
--- 452,458 ----
  /* #define WITH_READLINE 1 */
  
+ /* Define if you want cycle garbage collection */
+ /* #define WITH_CYCLE_GC 1 */
+ 
  /* Define if you have clock.  */
  /* #define HAVE_CLOCK */