From baf990e65c62f42e45fe25ac385db9536d3f1788 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 27 Apr 2025 16:49:38 -0400 Subject: Update stdlib to use `print` instead of `printf` in all cases. This means bringing in fpconv to do float-to-string conversion and a few updates to integer and number methods for string formatting. --- src/stdlib/c_strings.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/stdlib/c_strings.h') diff --git a/src/stdlib/c_strings.h b/src/stdlib/c_strings.h index 24cf99da..4df5c3ac 100644 --- a/src/stdlib/c_strings.h +++ b/src/stdlib/c_strings.h @@ -6,9 +6,9 @@ #include #include "types.h" +#include "util.h" Text_t CString$as_text(const char **str, bool colorize, const TypeInfo_t *info); -Text_t CString$as_text_simple(const char *str); PUREFUNC int CString$compare(const void *x, const void *y, const TypeInfo_t *type); PUREFUNC bool CString$equal(const void *x, const void *y, const TypeInfo_t *type); PUREFUNC uint64_t CString$hash(const void *str, const TypeInfo_t *type); -- cgit v1.2.3