diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-10-06 20:58:30 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-10-06 20:58:30 -0700 |
commit | 4adbf9319259d94604c9f5b5d27c3b3e3e0118f0 (patch) | |
tree | 8ebf192c9a0761bb8b298814d96523f203256aff /gc.h | |
parent | 49944f561aaf44935996cd22e777864aa623a220 (diff) | |
download | txr-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |