From 03f69018340f0fae95556321a3d89dcb49910ebe Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Fri, 5 Apr 2024 15:35:58 +0200 Subject: Add more predicates to unicode/prop.h --- include/unicode/prop.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/unicode') diff --git a/include/unicode/prop.h b/include/unicode/prop.h index 933e31a..74ffdf9 100644 --- a/include/unicode/prop.h +++ b/include/unicode/prop.h @@ -88,6 +88,7 @@ enum [[clang::flag_enum]] uprop_gc : uint_fast32_t { [[__nodiscard__, __unsequenced__]] bool uprop_is_lower(rune); [[__nodiscard__, __unsequenced__]] bool uprop_is_math(rune); [[__nodiscard__, __unsequenced__]] bool uprop_is_pat_syn(rune); +[[__nodiscard__, __unsequenced__]] bool uprop_is_pat_ws(rune); [[__nodiscard__, __unsequenced__]] bool uprop_is_pcm(rune); [[__nodiscard__, __unsequenced__]] bool uprop_is_qmark(rune); [[__nodiscard__, __unsequenced__]] bool uprop_is_radical(rune); @@ -102,4 +103,11 @@ enum [[clang::flag_enum]] uprop_gc : uint_fast32_t { [[__nodiscard__, __unsequenced__]] bool uprop_is_xids(rune); /* PROP PREDICATES END */ +/* Manually implemented predicates */ +[[__nodiscard__, __unsequenced__]] bool uprop_is_idst(rune); +[[__nodiscard__, __unsequenced__]] bool uprop_is_idsu(rune); +[[__nodiscard__, __unsequenced__]] bool uprop_is_join_c(rune); +[[__nodiscard__, __unsequenced__]] bool uprop_is_nchar(rune); +[[__nodiscard__, __unsequenced__]] bool uprop_is_ri(rune); + #endif /* !MLIB_UNICODE_PROP_H */ -- cgit v1.2.3