added garbage collector draft

This commit is contained in:
Francesco Cozzuto
2021-12-06 00:12:02 +01:00
parent 60b871be55
commit dbcf50c71b
21 changed files with 389 additions and 48 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ static _Bool insert(Object *self, Object *key, Object *val, Heap *heap, Error
static int count(Object *self);
static void print(Object *obj, FILE *fp);
static const Type t_buffer = {
static TypeObject t_buffer = {
.base = (Object) { .type = &t_type, .flags = Object_STATIC },
.name = "buffer",
.size = sizeof (BufferObject),