diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-09-30 14:39:30 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-09-30 14:39:30 -0400 |
| commit | 1a6ce0047bbc5125c386f65ae348688f98a9bb3f (patch) | |
| tree | ee56e2b3535ddcbc36fab5240d804d95f7744b5f /stdlib/memory.c | |
| parent | 2ba07c2cf53a765d4decb2cb09dbf5e1e99f1966 (diff) | |
Rename TypeInfo -> TypeInfo_t and fix up some typeinfo code
Diffstat (limited to 'stdlib/memory.c')
| -rw-r--r-- | stdlib/memory.c | 4 |
1 files changed, 2 insertions, 2 deletions
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, |
