libgrapheme

Freestanding C library for unicode string handling
git clone https://git.sinitax.com/suckless/libgrapheme
Log | Files | Refs | README | LICENSE | sfeed.txt

commit b583c3ab6855d491154f7be6d3bdb5c44380290c
parent 0aa5d262f8d0975341bcc60916e12044c7d64d0d
Author: Laslo Hunhold <dev@frign.de>
Date:   Wed,  5 Oct 2022 20:54:24 +0200

Fix sorting in grapheme.h

Signed-off-by: Laslo Hunhold <dev@frign.de>

Diffstat:
Mgrapheme.h | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/grapheme.h b/grapheme.h @@ -14,12 +14,12 @@ size_t grapheme_encode_utf8(uint_least32_t, char *, size_t); bool grapheme_is_character_break(uint_least32_t, uint_least32_t, uint_least16_t *); bool grapheme_is_lowercase(const uint_least32_t *, size_t, size_t *); -bool grapheme_is_uppercase(const uint_least32_t *, size_t, size_t *); bool grapheme_is_titlecase(const uint_least32_t *, size_t, size_t *); +bool grapheme_is_uppercase(const uint_least32_t *, size_t, size_t *); bool grapheme_is_lowercase_utf8(const char *, size_t, size_t *); -bool grapheme_is_uppercase_utf8(const char *, size_t, size_t *); bool grapheme_is_titlecase_utf8(const char *, size_t, size_t *); +bool grapheme_is_uppercase_utf8(const char *, size_t, size_t *); size_t grapheme_next_character_break(const uint_least32_t *, size_t); size_t grapheme_next_line_break(const uint_least32_t *, size_t); @@ -32,11 +32,11 @@ size_t grapheme_next_sentence_break_utf8(const char *, size_t); size_t grapheme_next_word_break_utf8(const char *, size_t); size_t grapheme_to_lowercase(const uint_least32_t *, size_t, uint_least32_t *, size_t); -size_t grapheme_to_uppercase(const uint_least32_t *, size_t, uint_least32_t *, size_t); size_t grapheme_to_titlecase(const uint_least32_t *, size_t, uint_least32_t *, size_t); +size_t grapheme_to_uppercase(const uint_least32_t *, size_t, uint_least32_t *, size_t); size_t grapheme_to_lowercase_utf8(const char *, size_t, char *, size_t); -size_t grapheme_to_uppercase_utf8(const char *, size_t, char *, size_t); size_t grapheme_to_titlecase_utf8(const char *, size_t, char *, size_t); +size_t grapheme_to_uppercase_utf8(const char *, size_t, char *, size_t); #endif /* GRAPHEME_H */