aboutsummaryrefslogtreecommitdiff
path: root/system/include/gc.h
diff options
context:
space:
mode:
Diffstat (limited to 'system/include/gc.h')
-rw-r--r--system/include/gc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/system/include/gc.h b/system/include/gc.h
index 1a236f3d..8c5a8989 100644
--- a/system/include/gc.h
+++ b/system/include/gc.h
@@ -42,6 +42,9 @@ void GC_FREE(void *ptr);
void GC_REGISTER_FINALIZER_NO_ORDER(void *ptr, void (*func)(void *, void *), void *arg,
void *(*old_func)(void *, void *), void *old_arg);
+/* Gets the bytes allocated and managed by the GC */
+int GC_get_heap_size();
+
/* Non-Boehm additions */
/* Call this once per frame or such, it will collect if necessary */