diff options
author | quou <quou@disroot.org> | 2024-10-11 21:43:36 +1100 |
---|---|---|
committer | quou <quou@disroot.org> | 2024-10-11 21:43:36 +1100 |
commit | 24b72170d34cee515398f206f087bfeafc7b6b55 (patch) | |
tree | 24c2bc3d7e1c0bdac9de38dae3c5d2de7e669f25 /str.h | |
parent | 9add408984464bd6b3cc018bb14c3d69ad0a2898 (diff) |
game is pretty much done kek
Diffstat (limited to 'str.h')
-rw-r--r-- | str.h | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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 |