diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2025-07-23 14:42:48 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2025-07-23 14:42:48 +0200 |
| commit | 034d197e7eb3749f9f5b347595abdcfe2d086965 (patch) | |
| tree | ba1237cdf7f9a98c39cc79b647baf89221de48be /string.h | |
| parent | b997e31ac151679a516fd76da45bb36931a13e40 (diff) | |
fix(json): Reduce memory usage and fix memory bugs
Diffstat (limited to 'string.h')
| -rw-r--r-- | string.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |
