1 // Type info and methods for CString datatype, which represents C's `char*`
11 Text_t CString$as_text(const char **str, bool colorize, const TypeInfo_t *info);
12 PUREFUNC int CString$compare(const void *x, const void *y, const TypeInfo_t *type);
13 PUREFUNC bool CString$equal(const void *x, const void *y, const TypeInfo_t *type);
14 PUREFUNC uint64_t CString$hash(const void *str, const TypeInfo_t *type);
15 PUREFUNC bool CString$is_none(const void *c_str, const TypeInfo_t *info);
16 const char *CString$join(const char *glue, List_t strings);
17 void CString$serialize(const void *obj, FILE *out, Table_t *pointers, const TypeInfo_t *info);
18 void CString$deserialize(FILE *in, void *out, List_t *pointers, const TypeInfo_t *info);
20 extern const TypeInfo_t CString$info;