From 413cb3b0c5c70d60eee212c72afed9b5c659b6d8 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Mon, 21 Jul 2025 21:46:41 +0200 Subject: refactor: Vec on arena --- string.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'string.h') diff --git a/string.h b/string.h index a984929..2785e99 100644 --- a/string.h +++ b/string.h @@ -1,5 +1,6 @@ #include #include +#include #include "memory.h" #include "types.h" @@ -15,5 +16,5 @@ typedef struct { int Str_equals(Str a, Str b); uint64_t Str_hash64(Str s); Str *Str_copy(Arena *a, byte *data, size len); -void Str_print(Str s); +int Str_fprint(FILE *w, Str s); #endif -- cgit v1.3