| 129 | } |
| 130 | |
| 131 | static inline bool IsAlphaCharacterUnicode(uint32_t codepoint) { |
| 132 | return HasAnyUnicodeGeneralCategory(codepoint, UTF8PROC_CATEGORY_LU, |
| 133 | UTF8PROC_CATEGORY_LL, UTF8PROC_CATEGORY_LT, |
| 134 | UTF8PROC_CATEGORY_LM, UTF8PROC_CATEGORY_LO); |
| 135 | } |
| 136 | |
| 137 | static inline bool IsDecimalCharacterUnicode(uint32_t codepoint) { |
| 138 | return HasAnyUnicodeGeneralCategory(codepoint, UTF8PROC_CATEGORY_ND); |
no test coverage detected