summaryrefslogtreecommitdiffstats
path: root/core/string/char_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/string/char_utils.h')
-rw-r--r--core/string/char_utils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/string/char_utils.h b/core/string/char_utils.h
index fc2fbb95a1..4acb81253f 100644
--- a/core/string/char_utils.h
+++ b/core/string/char_utils.h
@@ -70,6 +70,10 @@ static _FORCE_INLINE_ bool is_unicode_lower_case(char32_t c) {
BSEARCH_CHAR_RANGE(lowercase_letter);
}
+static _FORCE_INLINE_ bool is_unicode_letter(char32_t c) {
+ BSEARCH_CHAR_RANGE(unicode_letter);
+}
+
#undef BSEARCH_CHAR_RANGE
static _FORCE_INLINE_ bool is_ascii_upper_case(char32_t c) {