From 780384484cf58939f9413d644ccdd8c40cb82ae5 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Mon, 21 Jul 2025 14:37:12 +0200 Subject: feat(string): Arena base allocation for copy --- string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'string.h') diff --git a/string.h b/string.h index d8835f4..10b3869 100644 --- a/string.h +++ b/string.h @@ -12,6 +12,6 @@ typedef struct { } Str; int Str_equals(Str a, Str b); uint64_t Str_hash64(Str s); -Str Str_copy(Arena *a, char *data, uintptr_t len); +Str* Str_copy(Arena *a, char *data, uintptr_t len); void Str_print(Str s); #endif -- cgit v1.3