aboutsummaryrefslogtreecommitdiff
path: root/include/unicode
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-04-09 23:20:36 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-04-09 23:20:36 +0200
commit7672a052e519e2a6458e578d830b9436e3699777 (patch)
tree0ae43ce5f73c70e920cc47a11e49545a2112391e /include/unicode
parenta83a4de7820cf0a7c470c3a8acbfebf1a93b215f (diff)
Add uprop_get_dt()
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 1af318b..ea1ef60 100644
--- a/include/unicode/prop.h
+++ b/include/unicode/prop.h
@@ -11,6 +11,27 @@ enum uprop_bpt {
BPT_O, /* Open */
};
+enum uprop_dt {
+ DT_NONE, /* None */
+ DT_CAN, /* Canonical */
+ DT_COM, /* Compat */
+ DT_ENC, /* Circle */
+ DT_FIN, /* Final */
+ DT_FONT, /* Font */
+ DT_FRA, /* Fraction */
+ DT_INIT, /* Initial */
+ DT_ISO, /* Isolated */
+ DT_MED, /* Medial */
+ DT_NAR, /* Narrow */
+ DT_NB, /* Nobreak */
+ DT_SML, /* Small */
+ DT_SQR, /* Square */
+ DT_SUB, /* Sub */
+ DT_SUP, /* Super */
+ DT_VERT, /* Vertical */
+ DT_WIDE, /* Wide */
+};
+
enum uprop_ea {
EA_A, /* Ambiguous */
EA_F, /* Fullwidth */
@@ -72,6 +93,7 @@ enum uprop_nt {
[[__nodiscard__, __unsequenced__]] double uprop_get_nv(rune);
[[__nodiscard__, __unsequenced__]] enum uprop_bpt uprop_get_bpt(rune);
+[[__nodiscard__, __unsequenced__]] enum uprop_dt uprop_get_dt(rune);
[[__nodiscard__, __unsequenced__]] enum uprop_ea uprop_get_ea(rune);
[[__nodiscard__, __unsequenced__]] enum uprop_gc uprop_get_gc(rune);
[[__nodiscard__, __unsequenced__]] enum uprop_nt uprop_get_nt(rune);