aboutsummaryrefslogtreecommitdiff
path: root/src/stdlib/c_strings.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2026-02-20 00:18:03 -0500
committerBruce Hill <bruce@bruce-hill.com>2026-02-20 00:20:46 -0500
commit2727705528aa70f46fab2666b76ab0043469ff80 (patch)
tree991388893132a166d782aa11c56c1db578b86552 /src/stdlib/c_strings.h
parent92c2eadcf55befba95d461aa0ea8e2feb3664cdc (diff)
Code cleanup and copy over some CString methods to path
Diffstat (limited to 'src/stdlib/c_strings.h')
-rw-r--r--src/stdlib/c_strings.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stdlib/c_strings.h b/src/stdlib/c_strings.h
index eba3a3df..7a45e54a 100644
--- a/src/stdlib/c_strings.h
+++ b/src/stdlib/c_strings.h
@@ -12,6 +12,9 @@ Text_t CString$as_text(const char **str, bool colorize, const TypeInfo_t *info);
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);
+PUREFUNC bool CString$is_none(const void *c_str, const TypeInfo_t *info);
const char *CString$join(const char *glue, List_t strings);
+void CString$serialize(const void *obj, FILE *out, Table_t *pointers, const TypeInfo_t *info);
+void CString$deserialize(FILE *in, void *out, List_t *pointers, const TypeInfo_t *info);
extern const TypeInfo_t CString$info;