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/text.c | |
| parent | 8fab88c56f95c03ffcb4be178f5dbb21b239d95e (diff) | |
Rename as_str -> as_text
Diffstat (limited to 'builtins/text.c')
| -rw-r--r-- | builtins/text.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtins/text.c b/builtins/text.c index d85c03f0..a17ce23b 100644 --- a/builtins/text.c +++ b/builtins/text.c @@ -18,7 +18,7 @@ #define CLAMP(x, lo, hi) MIN(hi, MAX(x,lo)) -public CORD Text__as_str(const void *str, bool colorize, const TypeInfo *info) +public CORD Text__as_text(const void *str, bool colorize, const TypeInfo *info) { (void)info; if (!str) return "Text"; @@ -253,7 +253,7 @@ public const TypeInfo Text = { .align=__alignof__(CORD), .tag=CustomInfo, .CustomInfo={ - .as_str=(void*)Text__as_str, + .as_text=(void*)Text__as_text, .compare=(void*)Text__compare, .equal=(void*)Text__equal, .hash=(void*)Text__hash, |
