diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-08-17 20:35:09 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-08-17 20:35:09 -0400 |
| commit | f4e38fd061a158ecb94881273c6db6e6a332f61d (patch) | |
| tree | 9179cb312dcc1b24d806dfb65694c25580d1ed8b /src/stdlib/bools.h | |
| parent | 602cedd03b0c3d6ef176efafb08f51bde9bfe543 (diff) | |
Switch from using dollar signs as namespace delimiters to using 々, ヽ, andunicode-identifiers
〇.
Diffstat (limited to 'src/stdlib/bools.h')
| -rw-r--r-- | src/stdlib/bools.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/stdlib/bools.h b/src/stdlib/bools.h index ae6c5feb..db282b12 100644 --- a/src/stdlib/bools.h +++ b/src/stdlib/bools.h @@ -12,15 +12,15 @@ #define yes (Bool_t)true #define no (Bool_t)false -PUREFUNC Text_t Bool$as_text(const void *b, bool colorize, const TypeInfo_t *type); -OptionalBool_t Bool$parse(Text_t text, Text_t *remainder); -MACROLIKE Bool_t Bool$from_int(Int_t i) { return (i.small != 0); } -MACROLIKE Bool_t Bool$from_int64(Int64_t i) { return (i != 0); } -MACROLIKE Bool_t Bool$from_int32(Int32_t i) { return (i != 0); } -MACROLIKE Bool_t Bool$from_int16(Int16_t i) { return (i != 0); } -MACROLIKE Bool_t Bool$from_int8(Int8_t i) { return (i != 0); } -MACROLIKE Bool_t Bool$from_byte(uint8_t b) { return (b != 0); } +PUREFUNC Text_t Boolヽas_text(const void *b, bool colorize, const TypeInfo_t *type); +OptionalBool_t Boolヽparse(Text_t text, Text_t *remainder); +MACROLIKE Bool_t Boolヽfrom_int(Int_t i) { return (i.small != 0); } +MACROLIKE Bool_t Boolヽfrom_int64(Int64_t i) { return (i != 0); } +MACROLIKE Bool_t Boolヽfrom_int32(Int32_t i) { return (i != 0); } +MACROLIKE Bool_t Boolヽfrom_int16(Int16_t i) { return (i != 0); } +MACROLIKE Bool_t Boolヽfrom_int8(Int8_t i) { return (i != 0); } +MACROLIKE Bool_t Boolヽfrom_byte(uint8_t b) { return (b != 0); } -extern const TypeInfo_t Bool$info; +extern const TypeInfo_t Boolヽinfo; // vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 |
