aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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 7325c8b..ab45bcf 100644
--- a/include/unicode/prop.h
+++ b/include/unicode/prop.h
@@ -48,8 +48,16 @@ enum [[clang::__flag_enum__]] uprop_gc : uint_fast32_t {
GC_Z = GC_ZL | GC_ZP | GC_ZS, /* Separator */
};
+enum uprop_nt {
+ NT_DE, /* Decimal */
+ NT_DI, /* Digit */
+ NT_NONE, /* None */
+ NT_NU, /* Numeric */
+};
+
[[__nodiscard__, __unsequenced__]] double uprop_get_nv(rune);
[[__nodiscard__, __unsequenced__]] enum uprop_gc uprop_get_gc(rune);
+[[__nodiscard__, __unsequenced__]] enum uprop_nt uprop_get_nt(rune);
/* PROP PREDICATES START */
[[__nodiscard__, __unsequenced__]] bool uprop_is_ahex(rune);