summaryrefslogtreecommitdiffstatshomepage
path: root/py/objexcept.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-10-31 21:30:46 +0000
committerDamien George <damien.p.george@gmail.com>2014-10-31 21:30:46 +0000
commit109c1de015eeee385020233e2f8cc6f921149103 (patch)
tree9cd3851ac9b580fcc7d84824bdf14c2bc968ee88 /py/objexcept.c
parent4029f51842656e7a1576dbe7c41aeea3eef83645 (diff)
downloadmicropython-109c1de015eeee385020233e2f8cc6f921149103.tar.gz
micropython-109c1de015eeee385020233e2f8cc6f921149103.zip
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 'py/objexcept.c')
-rw-r--r--py/objexcept.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/objexcept.c b/py/objexcept.c
index 9b39788759..4b8d6ea08b 100644
--- a/py/objexcept.c
+++ b/py/objexcept.c
@@ -28,6 +28,7 @@
#include <stdarg.h>
#include <assert.h>
#include <stdio.h>
+#include <stdint.h>
#include "mpconfig.h"
#include "nlr.h"