diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2025-07-21 14:37:12 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2025-07-21 14:37:12 +0200 |
| commit | 780384484cf58939f9413d644ccdd8c40cb82ae5 (patch) | |
| tree | cedbd921eb07bc4a9e851c07fb312ce792868206 /string.h | |
| parent | 88eb8c969f6abe119994c7ab307b9be58ff076a5 (diff) | |
feat(string): Arena base allocation for copy
Diffstat (limited to 'string.h')
| -rw-r--r-- | string.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |
