diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-03-03 18:16:33 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-03-03 18:16:33 -0500 |
| commit | 23478e7036fe9fbee17263e52d5d8a37adce1c95 (patch) | |
| tree | 7c588c0f7b7ac2f81dbbd960a8f70b197613b229 /builtins/bool.c | |
| parent | 8fab88c56f95c03ffcb4be178f5dbb21b239d95e (diff) | |
Rename as_str -> as_text
Diffstat (limited to 'builtins/bool.c')
| -rw-r--r-- | builtins/bool.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtins/bool.c b/builtins/bool.c index 257de6cb..327a101d 100644 --- a/builtins/bool.c +++ b/builtins/bool.c @@ -13,7 +13,7 @@ #include "bool.h" #include "types.h" -public CORD Bool__as_str(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"; @@ -27,7 +27,7 @@ public const TypeInfo Bool = { .size=sizeof(bool), .align=__alignof__(bool), .tag=CustomInfo, - .CustomInfo={.as_str=(void*)Bool__as_str}, + .CustomInfo={.as_text=(void*)Bool__as_text}, }; // vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 |
