From 88eb8c969f6abe119994c7ab307b9be58ff076a5 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Mon, 21 Jul 2025 14:26:06 +0200 Subject: feat: JSON object parsing --- string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'string.h') 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 -- cgit v1.3