From db1ca2aaca8563fccb06b49442c7caac12a2582c Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Fri, 12 Apr 2024 22:54:31 +0200 Subject: Add uprop_get_tc() --- include/unicode/prop.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/unicode') 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); -- cgit v1.2.3