nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
src/doc: move components generation from `doc_model` to `doc_html` phase
[nit.git]
/
clib
/
gc_chooser.h
diff --git
a/clib/gc_chooser.h
b/clib/gc_chooser.h
index
4d1d03a
..
255e07a
100644
(file)
--- a/
clib/gc_chooser.h
+++ b/
clib/gc_chooser.h
@@
-20,4
+20,7
@@
void *nit_raw_alloc(size_t); /* allocate raw memory to store a raw stram of byte
void nit_gcollect(void); /* force a garbage collection */
void initialize_gc_option(void); /* Select the wanted GC using envvar `NIT_GC_OPTION` */
void nit_gcollect(void); /* force a garbage collection */
void initialize_gc_option(void); /* Select the wanted GC using envvar `NIT_GC_OPTION` */
+void gc_register_finalizer(void*); /* Tag a pointer for finalization */
+void gc_finalize(void*, void*); /* Finalize a pointer, implemented in the generated code. */
+
#endif
#endif