From 1f6e586b2a3fe7f8ca32ce95659032bafef0ad24 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 11 Mar 2025 17:49:04 -0400 Subject: Support external structs with namespaced methods (also C-strings are now `const char*` instead of `char*`) --- stdlib/c_strings.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stdlib/c_strings.h') diff --git a/stdlib/c_strings.h b/stdlib/c_strings.h index 7b736a0c..24cf99da 100644 --- a/stdlib/c_strings.h +++ b/stdlib/c_strings.h @@ -7,7 +7,7 @@ #include "types.h" -Text_t CString$as_text(char **str, bool colorize, const TypeInfo_t *info); +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); -- cgit v1.2.3