summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2026-08-25 19:29:52 -0400
committerAndrew Opalach <andrew@akon.city> 2026-08-25 19:29:52 -0400
commitb617e3ccb25a0ac3c22f8c02722c8108b2f78d6e (patch)
tree483c374801450fad4dde9b689d731e912e6dcacb /include
parent20f9d23538811dde9ce8aea051408a05e178b6d4 (diff)
downloadlibalabaster-b617e3ccb25a0ac3c22f8c02722c8108b2f78d6e.tar.gz
libalabaster-b617e3ccb25a0ac3c22f8c02722c8108b2f78d6e.tar.bz2
libalabaster-b617e3ccb25a0ac3c22f8c02722c8108b2f78d6e.zip
str: Thread-local buffer for int to string
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'include')
-rw-r--r--include/al/str.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/al/str.h b/include/al/str.h
index e993cce..b73b8ee 100644
--- a/include/al/str.h
+++ b/include/al/str.h
@@ -186,6 +186,9 @@ static inline u32 al_str_hash(str *s)
return hash;
}
+str *al_print_u32(u32 n);
+str *al_print_s32(s32 n);
+
s64 al_str_to_long(str *s, u32 base, bool *error);
bool al_str_get_line(str *buffer, char sep, str *line);