diff options
author | Damien George <damien.p.george@gmail.com> | 2014-10-31 21:30:46 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-10-31 21:30:46 +0000 |
commit | 109c1de015eeee385020233e2f8cc6f921149103 (patch) | |
tree | 9cd3851ac9b580fcc7d84824bdf14c2bc968ee88 /unix/gccollect.c | |
parent | 4029f51842656e7a1576dbe7c41aeea3eef83645 (diff) |
py: Make gc.enable/disable just control auto-GC; alloc is still allowed.
gc.enable/disable are now the same as CPython: they just control whether
automatic garbage collection is enabled or not. If disabled, you can
still allocate heap memory, and initiate a manual collection.
Diffstat (limited to 'unix/gccollect.c')
-rw-r--r-- | unix/gccollect.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/unix/gccollect.c b/unix/gccollect.c index 32b3d8bc6..117c13144 100644 --- a/unix/gccollect.c +++ b/unix/gccollect.c @@ -25,6 +25,7 @@ */ #include <stdio.h> +#include <stdint.h> #include "mpconfig.h" #include "misc.h" |