diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-04-12 22:54:31 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-04-12 22:54:31 +0200 |
commit | db1ca2aaca8563fccb06b49442c7caac12a2582c (patch) | |
tree | 69bd22405ddea352950cbfb6fd2dc946678021b1 /include/unicode | |
parent | e8a47a3a220404b189cbf611c3dd1cd2615afbd6 (diff) |
Add uprop_get_tc()
Diffstat (limited to 'include/unicode')
-rw-r--r-- | include/unicode/prop.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/unicode/prop.h b/include/unicode/prop.h index f58118d..fb7680c 100644 --- a/include/unicode/prop.h +++ b/include/unicode/prop.h @@ -18,6 +18,11 @@ struct ucctx { bool lt_after_i : 1; /* After ‘i’ in Lithuanian */ }; +struct tcctx { + bool az_or_tr : 1; /* Azeri or Turkish */ + bool lt_after_i : 1; /* After ‘i’ in Lithuanian */ +}; + enum uprop_bpt { BPT_N, /* None */ BPT_C, /* Close */ @@ -168,6 +173,7 @@ enum uprop_nt { [[__mlib_uprop_attrs]] rune uprop_get_slc(rune); [[__mlib_uprop_attrs]] rune uprop_get_stc(rune); [[__mlib_uprop_attrs]] rune uprop_get_suc(rune); +[[__mlib_uprop_attrs]] struct rview uprop_get_tc(rune, struct tcctx); [[__mlib_uprop_attrs]] struct rview uprop_get_uc(rune, struct ucctx); [[__mlib_uprop_attrs]] struct u8view uprop_get_na1(rune); [[__mlib_uprop_attrs]] struct u8view uprop_get_na(rune); |