From 0bb62e06106eca12a8de92beedfe7000269199cb Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 16 Dec 2023 15:11:36 +0000 Subject: Allocate ints using GC alloc --- runtime/src/ints.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'runtime/src/ints.c') diff --git a/runtime/src/ints.c b/runtime/src/ints.c index 4e385ae2..2eaf5e0f 100644 --- a/runtime/src/ints.c +++ b/runtime/src/ints.c @@ -1,7 +1,6 @@ #include #include "./patio/patio.h" -#include "./alloc.h" #include "./gc.h" #include "./primitives.h" @@ -11,7 +10,7 @@ struct ShedInt { }; ShedObject shed__runtime__int_create(PatioInt value) { - struct ShedInt* result = shed__runtime__alloc(sizeof(struct ShedInt)); + struct ShedInt* result = shed__runtime__gc_alloc(sizeof(struct ShedInt), 0, 0); result->value = value; return (ShedObject) result; } -- cgit v1.2.3