summaryrefslogtreecommitdiff
path: root/py/gc.h
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2019-03-08 15:29:14 -0800
committerScott Shawcroft <scott@tannewt.org>2019-03-12 11:18:26 -0700
commit03be42ab847f04a89d207d98fdb28048cfedf72d (patch)
tree918df321648fc6715eee60ddf926d5dc7ee58bfe /py/gc.h
parentef4a74e201e852a32e2e1be73ed9ba85c88fb3f4 (diff)
Enter safe mode when an allocation is attempted on an uninitialized heap.
Diffstat (limited to 'py/gc.h')
-rw-r--r--py/gc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/gc.h b/py/gc.h
index 64f4b0d17..c05e006b4 100644
--- a/py/gc.h
+++ b/py/gc.h
@@ -32,6 +32,7 @@
#include "py/misc.h"
void gc_init(void *start, void *end);
+void gc_deinit(void);
// These lock/unlock functions can be nested.
// They can be used to prevent the GC from allocating/freeing.