diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-02-27 13:47:29 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-02-27 13:47:29 -0500 |
| commit | a7bbbe9584f6e4cd35c9a78e8f83b458ddd8f914 (patch) | |
| tree | ed355fbb759916f4a73be0404137b45c2b751385 /builtins/bool.c | |
| parent | 805c26e65a4b96d61b98c984c526f2d3e2789749 (diff) | |
Const typeinfos
Diffstat (limited to 'builtins/bool.c')
| -rw-r--r-- | builtins/bool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtins/bool.c b/builtins/bool.c index 774ccff9..257de6cb 100644 --- a/builtins/bool.c +++ b/builtins/bool.c @@ -23,7 +23,7 @@ public CORD Bool__as_str(const bool *b, bool colorize, const TypeInfo *type) return *b ? "yes" : "no"; } -public TypeInfo Bool = { +public const TypeInfo Bool = { .size=sizeof(bool), .align=__alignof__(bool), .tag=CustomInfo, |
