summaryrefslogtreecommitdiffstatshomepage
path: root/py/gc.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-07-01 14:26:37 +0100
committerDamien George <damien.p.george@gmail.com>2014-07-01 14:26:37 +0100
commitf065344d3b5d88bc09e0028382f26ab60de2b5b2 (patch)
treeea4e1b3f43611332c55a561c0e025d286f7aca09 /py/gc.h
parentaa47f3968bdb46c67b6150eb7637d1cbd1e76767 (diff)
parent2fe841d2fa022bc7f546ddd77a79eaa0150bdf87 (diff)
downloadmicropython-f065344d3b5d88bc09e0028382f26ab60de2b5b2.tar.gz
micropython-f065344d3b5d88bc09e0028382f26ab60de2b5b2.zip
Merge branch 'preserve-except' of github.com:dhylands/micropython into dhylands-preserve-except
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 cea368f480..3b3b7dbb50 100644
--- a/py/gc.h
+++ b/py/gc.h
@@ -30,6 +30,7 @@ void gc_init(void *start, void *end);
// They can be used to prevent the GC from allocating/freeing.
void gc_lock(void);
void gc_unlock(void);
+bool gc_is_locked(void);
// A given port must implement gc_collect by using the other collect functions.
void gc_collect(void);