summaryrefslogtreecommitdiffstats
path: root/gc.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-10-06 20:58:30 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-10-06 20:58:30 -0700
commit4adbf9319259d94604c9f5b5d27c3b3e3e0118f0 (patch)
tree8ebf192c9a0761bb8b298814d96523f203256aff /gc.h
parent49944f561aaf44935996cd22e777864aa623a220 (diff)
downloadtxr-4adbf9319259d94604c9f5b5d27c3b3e3e0118f0.tar.gz
txr-4adbf9319259d94604c9f5b5d27c3b3e3e0118f0.tar.bz2
txr-4adbf9319259d94604c9f5b5d27c3b3e3e0118f0.zip
New function: call-finalizers.
* gc.c (gc_call_finalizers): New function. (gc_late_init): Register call-finalizers intrinsic. * gc.h (gc_call_finalizers): Declared. * txr.1: documented call-finalizers.
Diffstat (limited to 'gc.h')
-rw-r--r--gc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gc.h b/gc.h
index d7b00a69..183348f8 100644
--- a/gc.h
+++ b/gc.h
@@ -36,6 +36,7 @@ void gc_mark(val);
void gc_conservative_mark(val);
int gc_is_reachable(val);
val gc_finalize(val obj, val fun, val rev_order_p);
+val gc_call_finalizers(val obj);
#if CONFIG_GEN_GC
val gc_set(loc, val);