aboutsummaryrefslogtreecommitdiff
path: root/stdlib/bytes.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-11-29 12:55:14 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-11-29 12:55:14 -0500
commit4b5e4cd1f21582f5e5fa682ab4e4bff252963468 (patch)
treee8fecb01f444c1d392c09255adba5cf6b312b326 /stdlib/bytes.h
parent0b0e0a0a1d41e9574de8dc17c688a4894c5e7f92 (diff)
Change how types handle metamethods
Diffstat (limited to 'stdlib/bytes.h')
-rw-r--r--stdlib/bytes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/bytes.h b/stdlib/bytes.h
index 8c14ef1e..757f986f 100644
--- a/stdlib/bytes.h
+++ b/stdlib/bytes.h
@@ -11,7 +11,7 @@
#define Byte_t uint8_t
#define Byte(b) ((Byte_t)(b))
-PUREFUNC Text_t Byte$as_text(const Byte_t *b, bool colorize, const TypeInfo_t *type);
+PUREFUNC Text_t Byte$as_text(const void *b, bool colorize, const TypeInfo_t *type);
#define Byte_to_Int64(b, _) ((Int64_t)(b))
#define Byte_to_Int32(b, _) ((Int32_t)(b))