mirror of
https://github.com/python/cpython
synced 2026-09-29 11:15:30 +03:00
final patches from Neil Schemenauer for garbage collection
This commit is contained in:
parent
4e542a3d99
commit
c5007aa5c3
16 changed files with 956 additions and 18 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue