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/memory.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stdlib/memory.c') diff --git a/stdlib/memory.c b/stdlib/memory.c index 9d7dbc80..17b6172f 100644 --- a/stdlib/memory.c +++ b/stdlib/memory.c @@ -12,13 +12,13 @@ #include "types.h" #include "util.h" -public Text_t Memory__as_text(const void *p, bool colorize, const TypeInfo *type) { +public Text_t Memory__as_text(const void *p, bool colorize, const TypeInfo_t *type) { (void)type; if (!p) return Text("Memory"); return Text$format(colorize ? "\x1b[0;34;1mMemory<%p>\x1b[m" : "Memory<%p>", p); } -public const TypeInfo Memory$info = { +public const TypeInfo_t Memory$info = { .size=0, .align=0, .tag=CustomInfo, -- cgit v1.2.3