From b252d0de46cf12b8e2521b3eb42da9acc41a4cc1 Mon Sep 17 00:00:00 2001 From: Nathan Ringo Date: Wed, 27 Nov 2024 20:28:40 -0600 Subject: new simpler GC --- src/gc.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gc.h') 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 -- cgit v1.2.3