From 034d197e7eb3749f9f5b347595abdcfe2d086965 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Wed, 23 Jul 2025 14:42:48 +0200 Subject: fix(json): Reduce memory usage and fix memory bugs --- string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'string.h') diff --git a/string.h b/string.h index aed7945..a4c1e1a 100644 --- a/string.h +++ b/string.h @@ -15,6 +15,6 @@ typedef struct { } Str; i32 Str_equals(Str a, Str b); u64 Str_hash64(Str s); -Str *Str_copy(Arena *a, byte *data, size len); +Str Str_copy(Arena *a, byte *data, size len); i32 Str_fprint(FILE *w, Str s); #endif -- cgit v1.3