diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2025-02-14 08:08:57 +0100 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2025-02-14 17:36:38 +0100 |
| commit | d3d71bb044e0ae9af75bd74d4030e1d95f18a68e (patch) | |
| tree | df6a4cbb37f084f64066e4caba0367ad4181984b /string.c | |
| parent | 92a97df033086d0ed88c38ad1efe4a2a023eb5fe (diff) | |
feat(json): Nested parsing
Diffstat (limited to 'string.c')
| -rw-r--r-- | string.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -25,7 +25,7 @@ uint64_t Str_hash64(Str s) { } Str Str_copy(Arena *a, char *data, uintptr_t len) { - Str str = {0,len}; + Str str = {0, len}; str.data = new (a, char, len); if (str.len) memcpy(str.data, data, len); |
