diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-04-09 20:14:14 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-04-09 20:14:14 +0200 |
commit | c02c6641704245b35be78f45e2291a3cb93a6511 (patch) | |
tree | f7d35365df130709a0ca5b96eca99837e474a7ff /include | |
parent | 73df1a0e994f6d777591d7dae7c14f291c876fb2 (diff) |
Add uprop_get_ea()
Diffstat (limited to 'include')
-rw-r--r-- | include/unicode/prop.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/include/unicode/prop.h b/include/unicode/prop.h index ab45bcf..0efd0c1 100644 --- a/include/unicode/prop.h +++ b/include/unicode/prop.h @@ -49,13 +49,23 @@ enum [[clang::__flag_enum__]] uprop_gc : uint_fast32_t { }; enum uprop_nt { + NT_NONE, /* None */ NT_DE, /* Decimal */ NT_DI, /* Digit */ - NT_NONE, /* None */ NT_NU, /* Numeric */ }; +enum uprop_ea { + EA_A, /* Ambiguous */ + EA_F, /* Fullwidth */ + EA_H, /* Halfwidth */ + EA_NA, /* Wide */ + EA_N, /* Neutral */ + EA_W, /* Narrow */ +}; + [[__nodiscard__, __unsequenced__]] double uprop_get_nv(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); |