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