diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-03-11 17:49:04 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-03-11 17:49:04 -0400 |
| commit | 1f6e586b2a3fe7f8ca32ce95659032bafef0ad24 (patch) | |
| tree | 49b6633bf0693952153f12e8ed4dce1dae1443cc /stdlib/c_strings.h | |
| parent | fb2d7b5379663e929ffabfbd8428de5b35ad67c4 (diff) | |
Support external structs with namespaced methods (also C-strings are now
`const char*` instead of `char*`)
Diffstat (limited to 'stdlib/c_strings.h')
| -rw-r--r-- | stdlib/c_strings.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
