From 2727705528aa70f46fab2666b76ab0043469ff80 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 20 Feb 2026 00:18:03 -0500 Subject: Code cleanup and copy over some CString methods to path --- src/stdlib/c_strings.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/stdlib/c_strings.h') 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; -- cgit v1.2.3