A lot of work

This commit is contained in:
2026-01-19 05:57:18 -08:00
parent c7af58f674
commit c63b104bc6
12 changed files with 217 additions and 13 deletions
+1 -1
View File
@@ -21,8 +21,8 @@ void *lisp_alloc_object(size_t size, LispValType type) {
assert(size >= sizeof(LispObject));
LispObject *obj = lisp_aligned_alloc(LISP_OBJECT_ALIGNMENT, size);
obj->type = type;
obj->gc.immortal = false;
obj->gc.mark = false;
obj->gc.local_ref_count = 0;
// TODO set the below
obj->gc.entry = NULL;
return obj;