diff options
Diffstat (limited to 'include/private/gc_priv.h')
-rw-r--r-- | include/private/gc_priv.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/private/gc_priv.h b/include/private/gc_priv.h index d5971554..f2df5d4f 100644 --- a/include/private/gc_priv.h +++ b/include/private/gc_priv.h @@ -1647,6 +1647,12 @@ void GC_notify_or_invoke_finalizers GC_PROTO((void)); /* Call *GC_finalizer_notifier if there are */ /* finalizers to be run, and we haven't called */ /* this procedure yet this GC cycle. */ + +GC_API GC_PTR GC_make_closure GC_PROTO((GC_finalization_proc fn, GC_PTR data)); +GC_API void GC_debug_invoke_finalizer GC_PROTO((GC_PTR obj, GC_PTR data)); + /* Auxiliary fns to make finalization work */ + /* correctly with displaced pointers introduced */ + /* by the debugging allocators. */ void GC_add_to_heap GC_PROTO((struct hblk *p, word bytes)); /* Add a HBLKSIZE aligned chunk to the heap. */ |