diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-11-29 12:55:14 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-11-29 12:55:14 -0500 |
| commit | 4b5e4cd1f21582f5e5fa682ab4e4bff252963468 (patch) | |
| tree | e8fecb01f444c1d392c09255adba5cf6b312b326 /stdlib/c_strings.h | |
| parent | 0b0e0a0a1d41e9574de8dc17c688a4894c5e7f92 (diff) | |
Change how types handle metamethods
Diffstat (limited to 'stdlib/c_strings.h')
| -rw-r--r-- | stdlib/c_strings.h | 6 |
1 files changed, 3 insertions, 3 deletions
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; |
