aboutsummaryrefslogtreecommitdiff
path: root/include/unicode
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-04-16 14:10:27 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-04-16 14:10:27 +0200
commit7f75f1a4be3a14f238d9d74a30f0bf3c50d7bd20 (patch)
treeddefac3e65ff6cd901488c742adbb6a45b9b08e4 /include/unicode
parent632e300c80cb9349b31880e3a43f94e0358fc78c (diff)
Add uprop_get_hst()
Diffstat (limited to 'include/unicode')
-rw-r--r--include/unicode/prop.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/unicode/prop.h b/include/unicode/prop.h
index b392a6b..e6c53ea 100644
--- a/include/unicode/prop.h
+++ b/include/unicode/prop.h
@@ -525,6 +525,15 @@ enum [[clang::flag_enum]] uprop_gc : uint_least32_t {
GC_Z = GC_ZL | GC_ZP | GC_ZS, /* Separator */
};
+enum uprop_hst {
+ HST_NA = 0, /* Not Applicable */
+ HST_L, /* Leading Jamo */
+ HST_LV, /* LV Syllable */
+ HST_LVT, /* LVT Syllable */
+ HST_T, /* Trailing Jamo */
+ HST_V, /* Vowel Jamo */
+};
+
enum uprop_lb {
LB_XX, /* Unknown */
LB_AI, /* Ambiguous */
@@ -769,6 +778,7 @@ enum uprop_vo {
[[_mlib_pure]] enum uprop_dt uprop_get_dt(rune);
[[_mlib_pure]] enum uprop_ea uprop_get_ea(rune);
[[_mlib_pure]] enum uprop_gc uprop_get_gc(rune);
+[[_mlib_pure]] enum uprop_hst uprop_get_hst(rune);
[[_mlib_pure]] enum uprop_lb uprop_get_lb(rune);
[[_mlib_pure]] enum uprop_nt uprop_get_nt(rune);
[[_mlib_pure]] enum uprop_sc uprop_get_sc(rune);