Issue #2538 - Part 2: Add IsEmojiClusterExtender

Check specifically for Emoji-specific clusters only in Emoji-specific contexts.
This commit is contained in:
Andy 2024-06-26 11:11:19 -07:00 committed by roytam1
commit 68bcd4e61e
2 changed files with 14 additions and 1 deletions

View file

@ -219,6 +219,8 @@ inline bool IsClusterExtender(uint32_t aCh) {
return IsClusterExtender(aCh, GetGeneralCategory(aCh));
}
bool IsEmojiClusterExtender(uint32_t aCh);
// A simple iterator for a string of char16_t codepoints that advances
// by Unicode grapheme clusters
class ClusterIterator