diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-03-07 16:19:12 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-03-07 16:19:12 -0500 |
| commit | 7eb1fbf5d2d632bbd98fc3fa7cff777197a63d34 (patch) | |
| tree | 7238baa1f07ebc077473a49300992db846b2b606 /stdlib/text.h | |
| parent | d590b9d386977d342fc3580e473219d5b9e38503 (diff) | |
Add proper language support for case operations on text
Diffstat (limited to 'stdlib/text.h')
| -rw-r--r-- | stdlib/text.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/text.h b/stdlib/text.h index 64cf86f5..d3aba3f3 100644 --- a/stdlib/text.h +++ b/stdlib/text.h @@ -45,11 +45,11 @@ PUREFUNC uint64_t Text$hash(const void *text, const TypeInfo_t*); PUREFUNC int32_t Text$compare(const void *va, const void *vb, const TypeInfo_t*); PUREFUNC bool Text$equal(const void *a, const void *b, const TypeInfo_t*); PUREFUNC bool Text$equal_values(Text_t a, Text_t b); -PUREFUNC bool Text$equal_ignoring_case(Text_t a, Text_t b); +PUREFUNC bool Text$equal_ignoring_case(Text_t a, Text_t b, Text_t language); PUREFUNC bool Text$is_none(const void *t, const TypeInfo_t*); -Text_t Text$upper(Text_t text); -Text_t Text$lower(Text_t text); -Text_t Text$title(Text_t text); +Text_t Text$upper(Text_t text, Text_t language); +Text_t Text$lower(Text_t text, Text_t language); +Text_t Text$title(Text_t text, Text_t language); Text_t Text$as_text(const void *text, bool colorize, const TypeInfo_t *info); Text_t Text$quoted(Text_t str, bool colorize); PUREFUNC bool Text$starts_with(Text_t text, Text_t prefix); |
