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/bools.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stdlib/bools.c') diff --git a/stdlib/bools.c b/stdlib/bools.c index d7b3718f..c815c733 100644 --- a/stdlib/bools.c +++ b/stdlib/bools.c @@ -12,7 +12,7 @@ #include "text.h" #include "util.h" -PUREFUNC public Text_t Bool$as_text(const bool *b, bool colorize, const TypeInfo *type) +PUREFUNC public Text_t Bool$as_text(const bool *b, bool colorize, const TypeInfo_t *type) { (void)type; if (!b) return Text("Bool"); @@ -44,7 +44,7 @@ public Bool_t Bool$random(double p) return (drand48() < p); } -public const TypeInfo Bool$info = { +public const TypeInfo_t Bool$info = { .size=sizeof(bool), .align=__alignof__(bool), .tag=CustomInfo, -- cgit v1.2.3