A lot of work
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user