aboutsummaryrefslogtreecommitdiff
path: root/builtins/bool.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-03-29 12:54:31 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-03-29 12:54:31 -0400
commit04d9adc8138566eec5d6bf7b233a6c617306bcce (patch)
tree8414c07e92cdd17613190cd6a8e179b2eed2f00c /builtins/bool.c
parentd94053ca7768037016cbcacc4cadf843dad1bea6 (diff)
Switch naming convention to use '$' in symbols more
Diffstat (limited to 'builtins/bool.c')
-rw-r--r--builtins/bool.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/builtins/bool.c b/builtins/bool.c
index 7a34073b..cced8077 100644
--- a/builtins/bool.c
+++ b/builtins/bool.c
@@ -12,7 +12,7 @@
#include "bool.h"
#include "types.h"
-public CORD Bool__as_text(const bool *b, bool colorize, const TypeInfo *type)
+public CORD Bool$as_text(const bool *b, bool colorize, const TypeInfo *type)
{
(void)type;
if (!b) return "Bool";
@@ -22,11 +22,11 @@ public CORD Bool__as_text(const bool *b, bool colorize, const TypeInfo *type)
return *b ? "yes" : "no";
}
-public const TypeInfo Bool = {
+public const TypeInfo $Bool = {
.size=sizeof(bool),
.align=__alignof__(bool),
.tag=CustomInfo,
- .CustomInfo={.as_text=(void*)Bool__as_text},
+ .CustomInfo={.as_text=(void*)Bool$as_text},
};
// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0