aboutsummaryrefslogtreecommitdiff
path: root/include/unicode
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-04-16 23:35:34 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-04-16 23:35:34 +0200
commit6912c5d4544aa25a5aeb74549abcb32870b9b18a (patch)
treebeff7a0d0fb44a71ccba2f9094d6ba84cff3e022 /include/unicode
parent5180ce98cfd8f6d235a71e555712d62044572871 (diff)
Add uprop_get_gcb()
Diffstat (limited to 'include/unicode')
-rw-r--r--include/unicode/prop.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/unicode/prop.h b/include/unicode/prop.h
index cc74337..6d4ca32 100644
--- a/include/unicode/prop.h
+++ b/include/unicode/prop.h
@@ -543,6 +543,27 @@ enum uprop_ea {
EA_W, /* Narrow */
};
+enum uprop_gcb {
+ GCB_XX = 0, /* Other */
+ GCB_CN, /* Control */
+ GCB_CR, /* CR */
+ GCB_EB, /* E Base */
+ GCB_EBG, /* E Base GAZ */
+ GCB_EM, /* E Modifier */
+ GCB_EX, /* Extend */
+ GCB_GAZ, /* Glue After Zwj */
+ GCB_L, /* L */
+ GCB_LF, /* LF */
+ GCB_LV, /* LV */
+ GCB_LVT, /* LVT */
+ GCB_PP, /* Prepend */
+ GCB_RI, /* Regional Indicator */
+ GCB_SM, /* SpacingMark */
+ GCB_T, /* T */
+ GCB_V, /* V */
+ GCB_ZWJ, /* ZWJ */
+};
+
enum [[clang::flag_enum]] uprop_gc : uint_least32_t {
GC_CN = UINT32_C(1) << 0, /* Not Assigned */
GC_CC = UINT32_C(1) << 1, /* Control */
@@ -897,6 +918,7 @@ enum uprop_vo {
[[_mlib_pure]] enum uprop_ccc uprop_get_ccc(rune);
[[_mlib_pure]] enum uprop_dt uprop_get_dt(rune);
[[_mlib_pure]] enum uprop_ea uprop_get_ea(rune);
+[[_mlib_pure]] enum uprop_gcb uprop_get_gcb(rune);
[[_mlib_pure]] enum uprop_gc uprop_get_gc(rune);
[[_mlib_pure]] enum uprop_hst uprop_get_hst(rune);
[[_mlib_pure]] enum uprop_inpc uprop_get_inpc(rune);