summaryrefslogtreecommitdiff
path: root/src/gc.h
diff options
context:
space:
mode:
authorNathan Ringo <nathan@remexre.com>2024-11-27 20:28:40 -0600
committerNathan Ringo <nathan@remexre.com>2024-11-27 20:28:40 -0600
commitb252d0de46cf12b8e2521b3eb42da9acc41a4cc1 (patch)
tree456bfed5547745edacebe8c89194c26f03a25908 /src/gc.h
parent62e41dcb40d0450d493a804e7f0ac3e32f35aabf (diff)
new simpler GC
Diffstat (limited to 'src/gc.h')
-rw-r--r--src/gc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gc.h b/src/gc.h
index d7ce8b0..8acaacc 100644
--- a/src/gc.h
+++ b/src/gc.h
@@ -21,4 +21,9 @@ void gc_write_value_slot(struct object *, size_t, struct value);
void gc_write_untraced_slot(struct object *, size_t, uintptr_t);
void gc_write_untraced_byte(struct object *, size_t, uint8_t);
+void gc_root_push(struct value *);
+void gc_root_pop(void);
+
+void gc_debug(void);
+
#endif // IMB3_GC_H