diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-09-12 03:41:44 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-09-12 03:41:44 -0400 |
| commit | fb6dc0a8b9b5537ef708778bf013f71f98fad41f (patch) | |
| tree | d1d1c8c8a2f101eddbad8293f3afd7cb27e3b1cd /builtins/c_string.h | |
| parent | 4d4e3b2a9d80433ca0fe160a5c899c4d37dda9c8 (diff) | |
Fix up CString:as_text()
Diffstat (limited to 'builtins/c_string.h')
| -rw-r--r-- | builtins/c_string.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/builtins/c_string.h b/builtins/c_string.h index 10621e62..e596bf40 100644 --- a/builtins/c_string.h +++ b/builtins/c_string.h @@ -8,7 +8,8 @@ #include "types.h" -Text_t CString$as_text(const void *str, bool colorize, const TypeInfo *info); +Text_t CString$as_text(char **str, bool colorize, const TypeInfo *info); +Text_t CString$as_text_simple(const char *str); PUREFUNC int CString$compare(const char **x, const char **y); PUREFUNC bool CString$equal(const char **x, const char **y); PUREFUNC uint64_t CString$hash(const char **str); |
