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/bytes.c | |
| parent | 2ba07c2cf53a765d4decb2cb09dbf5e1e99f1966 (diff) | |
Rename TypeInfo -> TypeInfo_t and fix up some typeinfo code
Diffstat (limited to 'stdlib/bytes.c')
| -rw-r--r-- | stdlib/bytes.c | 4 |
1 files changed, 2 insertions, 2 deletions
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, |
