aboutsummaryrefslogtreecommitdiff
path: root/string.h
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2025-07-21 14:26:06 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2025-07-21 14:26:06 +0200
commit88eb8c969f6abe119994c7ab307b9be58ff076a5 (patch)
tree3a8fed52b29bdf12f5a6ac65393df8abb0c8f437 /string.h
parenta378ff1b173f7a67272e574fb1a2c275ecb9661b (diff)
feat: JSON object parsing
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 c441373..d8835f4 100644
--- a/string.h
+++ b/string.h
@@ -10,8 +10,8 @@ typedef struct {
char *data;
ptrdiff_t len;
} Str;
-Str *Str_new(Arena *a, uintptr_t len);
int Str_equals(Str a, Str b);
uint64_t Str_hash64(Str s);
Str Str_copy(Arena *a, char *data, uintptr_t len);
+void Str_print(Str s);
#endif