diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-09-30 14:39:30 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-09-30 14:39:30 -0400 |
| commit | 1a6ce0047bbc5125c386f65ae348688f98a9bb3f (patch) | |
| tree | ee56e2b3535ddcbc36fab5240d804d95f7744b5f /stdlib/text.h | |
| parent | 2ba07c2cf53a765d4decb2cb09dbf5e1e99f1966 (diff) | |
Rename TypeInfo -> TypeInfo_t and fix up some typeinfo code
Diffstat (limited to 'stdlib/text.h')
| -rw-r--r-- | stdlib/text.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/text.h b/stdlib/text.h index bad0187b..43eee1cc 100644 --- a/stdlib/text.h +++ b/stdlib/text.h @@ -37,7 +37,7 @@ PUREFUNC bool Text$equal_ignoring_case(Text_t a, Text_t b); Text_t Text$upper(Text_t text); Text_t Text$lower(Text_t text); Text_t Text$title(Text_t text); -Text_t Text$as_text(const void *text, bool colorize, const TypeInfo *info); +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); PUREFUNC bool Text$ends_with(Text_t text, Text_t suffix); @@ -63,6 +63,6 @@ static inline int32_t Text$get_grapheme(Text_t text, int64_t index) return Text$get_grapheme_fast(&state, index); } -extern const TypeInfo Text$info; +extern const TypeInfo_t Text$info; // vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 |
