From 13fdee74dc28f0b068503843c6e14071a7c339f2 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Tue, 22 Jul 2025 08:59:24 +0200 Subject: feat: More integer types --- string.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'string.h') diff --git a/string.h b/string.h index 2785e99..aed7945 100644 --- a/string.h +++ b/string.h @@ -13,8 +13,8 @@ typedef struct { byte *data; size len; } Str; -int Str_equals(Str a, Str b); -uint64_t Str_hash64(Str s); +i32 Str_equals(Str a, Str b); +u64 Str_hash64(Str s); Str *Str_copy(Arena *a, byte *data, size len); -int Str_fprint(FILE *w, Str s); +i32 Str_fprint(FILE *w, Str s); #endif -- cgit v1.3