diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-02-17 17:44:17 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-02-17 17:44:17 -0500 |
| commit | 1dcfbdc5c79c26b0f5d5997bed755e93f47e2ec1 (patch) | |
| tree | d923e233ddcd0a53698e9c6a9b85fe5023327e1b /builtins/string.c | |
| parent | 1bcf6bdc9a2652366bc152a1d98524743623bdf5 (diff) | |
Rename 'cord' to 'as_str'
Diffstat (limited to 'builtins/string.c')
| -rw-r--r-- | builtins/string.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtins/string.c b/builtins/string.c index 4cfa00ee..dd56893a 100644 --- a/builtins/string.c +++ b/builtins/string.c @@ -21,7 +21,7 @@ extern const void *SSS_HASH_VECTOR; -public CORD Str__cord(const void *str, bool colorize, const TypeInfo *info) +public CORD Str__as_str(const void *str, bool colorize, const TypeInfo *info) { (void)info; if (!str) return "Str"; @@ -263,7 +263,7 @@ public Str_namespace_t Str_type = { .align=alignof(CORD), .tag=CustomInfo, .CustomInfo={ - .cord=(void*)Str__cord, + .as_str=(void*)Str__as_str, .compare=(void*)Str__compare, .equal=(void*)Str__equal, .hash=(void*)Str__hash, |
