From 24b72170d34cee515398f206f087bfeafc7b6b55 Mon Sep 17 00:00:00 2001 From: quou Date: Fri, 11 Oct 2024 21:43:36 +1100 Subject: game is pretty much done kek --- str.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 str.h (limited to 'str.h') diff --git a/str.h b/str.h new file mode 100644 index 0000000..f6479cc --- /dev/null +++ b/str.h @@ -0,0 +1,14 @@ +#ifndef str_h +#define str_h + +struct Arena; + +int string_equal(const char* a, const char* b); +int string_copy(char* dst, const char* src); +int string_len(const char* s); +char* dup_string(struct Arena* a, const char* s); + +int int_to_buf(int n, char* buf); +int f_to_buf(int f, char* buf); + +#endif -- cgit v1.2.3-54-g00ecf