diff options
Diffstat (limited to 'libgc/include/gc.h')
-rw-r--r-- | libgc/include/gc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libgc/include/gc.h b/libgc/include/gc.h index 123d6cce089..487727dc842 100644 --- a/libgc/include/gc.h +++ b/libgc/include/gc.h @@ -769,6 +769,11 @@ GC_API int GC_unregister_disappearing_link GC_PROTO((GC_PTR * /* link */)); GC_API int GC_register_long_link GC_PROTO((GC_PTR * /* link */, GC_PTR obj)); GC_API int GC_unregister_long_link GC_PROTO((GC_PTR * /* link */)); + +/* toggleref support */ +GC_API void GC_toggleref_register_callback GC_PROTO((int (*proccess_toggleref) (GC_PTR obj))); +GC_API void GC_toggleref_add (GC_PTR object, int strong_ref); + /* Returns !=0 if GC_invoke_finalizers has something to do. */ GC_API int GC_should_invoke_finalizers GC_PROTO((void)); |