From 20a95051ce8fe440bc2ae5078bf3425ef1875004 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 16 Dec 2023 15:12:06 +0000 Subject: Allocate strings using GC alloc --- runtime/src/strings.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'runtime/src/strings.c') diff --git a/runtime/src/strings.c b/runtime/src/strings.c index 9fd545f0..919e3daa 100644 --- a/runtime/src/strings.c +++ b/runtime/src/strings.c @@ -1,8 +1,8 @@ -#include "./alloc.h" +#include "./gc.h" #include "./strings.h" ShedString shed__runtime__string_alloc(ShedStringLength length) { - return shed__runtime__alloc(sizeof(struct ShedString) + length); + return shed__runtime__gc_alloc(sizeof(struct ShedString) + length, 0, 0); } ShedString shed__runtime__string_add(ShedString left, ShedString right) { -- cgit v1.2.3