aboutsummaryrefslogtreecommitdiff
path: root/string.h
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2025-07-21 14:37:12 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2025-07-21 14:37:12 +0200
commit780384484cf58939f9413d644ccdd8c40cb82ae5 (patch)
treecedbd921eb07bc4a9e851c07fb312ce792868206 /string.h
parent88eb8c969f6abe119994c7ab307b9be58ff076a5 (diff)
feat(string): Arena base allocation for copy
Diffstat (limited to 'string.h')
-rw-r--r--string.h2
1 files changed, 1 insertions, 1 deletions
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