From 4b5e4cd1f21582f5e5fa682ab4e4bff252963468 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 29 Nov 2024 12:55:14 -0500 Subject: Change how types handle metamethods --- stdlib/c_strings.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'stdlib/c_strings.h') diff --git a/stdlib/c_strings.h b/stdlib/c_strings.h index 745333ad..7b736a0c 100644 --- a/stdlib/c_strings.h +++ b/stdlib/c_strings.h @@ -9,9 +9,9 @@ Text_t CString$as_text(char **str, bool colorize, const TypeInfo_t *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); +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); extern const TypeInfo_t CString$info; -- cgit v1.2.3