From 1a6ce0047bbc5125c386f65ae348688f98a9bb3f Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 30 Sep 2024 14:39:30 -0400 Subject: Rename TypeInfo -> TypeInfo_t and fix up some typeinfo code --- stdlib/bytes.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stdlib/bytes.c') diff --git a/stdlib/bytes.c b/stdlib/bytes.c index 5b471bfe..f7e90576 100644 --- a/stdlib/bytes.c +++ b/stdlib/bytes.c @@ -10,7 +10,7 @@ public const Byte_t Byte$min = 0; public const Byte_t Byte$max = UINT8_MAX; -PUREFUNC public Text_t Byte$as_text(const Byte_t *b, bool colorize, const TypeInfo *type) +PUREFUNC public Text_t Byte$as_text(const Byte_t *b, bool colorize, const TypeInfo_t *type) { (void)type; if (!b) return Text("Byte"); @@ -28,7 +28,7 @@ public Byte_t Byte$random(Byte_t min, Byte_t max) return (Byte_t)(min + r); } -public const TypeInfo Byte$info = { +public const TypeInfo_t Byte$info = { .size=sizeof(Byte_t), .align=__alignof__(Byte_t), .tag=CustomInfo, -- cgit v1.2.3