summaryrefslogtreecommitdiffstatshomepage
path: root/py/gc.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/gc.h')
-rw-r--r--py/gc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/py/gc.h b/py/gc.h
new file mode 100644
index 0000000000..e8bb807808
--- /dev/null
+++ b/py/gc.h
@@ -0,0 +1,8 @@
+void gc_init(void *start, void *end);
+void gc_collect_start();
+void gc_collect_root(void **ptrs, machine_uint_t len);
+void gc_collect_end();
+void gc_collect();
+void *gc_alloc(machine_uint_t n_bytes);
+machine_uint_t gc_nbytes(void *ptr_in);
+void *gc_realloc(void *ptr, machine_uint_t n_bytes);