aboutsummaryrefslogtreecommitdiff
path: root/include/unicode
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-04-05 15:35:58 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-04-05 15:35:58 +0200
commit03f69018340f0fae95556321a3d89dcb49910ebe (patch)
treeba8193041c9b85e1ff0dd95166a429c640f6e175 /include/unicode
parent4bba70f54e9a4ebd576f6a34075321223308e7b8 (diff)
Add more predicates to unicode/prop.h
Diffstat (limited to 'include/unicode')
-rw-r--r--include/unicode/prop.h8
1 files changed, 8 insertions, 0 deletions
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 */