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/c_strings.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stdlib/c_strings.c') diff --git a/stdlib/c_strings.c b/stdlib/c_strings.c index 392565ab..5ac7d4b4 100644 --- a/stdlib/c_strings.c +++ b/stdlib/c_strings.c @@ -10,7 +10,7 @@ #include "siphash.h" #include "util.h" -public Text_t CString$as_text(const char **c_string, bool colorize, const TypeInfo *info) +public Text_t CString$as_text(const char **c_string, bool colorize, const TypeInfo_t *info) { (void)info; if (!c_string) return Text("CString"); @@ -45,7 +45,7 @@ PUREFUNC public uint64_t CString$hash(const char **c_str) return siphash24((void*)*c_str, strlen(*c_str)); } -public const TypeInfo CString$info = { +public const TypeInfo_t CString$info = { .size=sizeof(char*), .align=__alignof__(char*), .tag=CStringInfo, -- cgit v1.2.3