aboutsummaryrefslogtreecommitdiff
path: root/string.h
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2025-07-22 08:59:24 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2025-07-22 08:59:24 +0200
commit13fdee74dc28f0b068503843c6e14071a7c339f2 (patch)
tree323f35e351394c89faeaf61cccad716ba4e4fb1a /string.h
parente02bfc1854effe0bb55ea6d4320e2b1902eaeae3 (diff)
feat: More integer types
Diffstat (limited to 'string.h')
-rw-r--r--string.h6
1 files changed, 3 insertions, 3 deletions
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