aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-11-20 15:04:33 +0100
committerAlon Zakai <alonzakai@gmail.com>2012-11-20 15:04:33 +0100
commit4db72410f710de1bb70b92e2621a40d78a72152e (patch)
tree58382958781e714f34974330f91e247be7fd1a16 /system
parentbfd1ba2cac8a13c096ed06ce6fa8a40d031ae9fa (diff)
define GC_finalization_proc
Diffstat (limited to 'system')
-rw-r--r--system/include/gc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/include/gc.h b/system/include/gc.h
index 996bc9ec..c27135ec 100644
--- a/system/include/gc.h
+++ b/system/include/gc.h
@@ -44,6 +44,8 @@ void GC_MAYBE_COLLECT();
/* Forces a GC. Mainly useful for testing, but call it if you know a good time to GC in your app. */
void GC_FORCE_COLLECT();
+typedef void (*GC_finalization_proc)(void *func, void *arg);
+
#ifdef __cplusplus
}
#endif