Function
uni_casefoldchk
Check case fold status.
Since v1.0
unistat uni_casefoldchk(
Parameters 🔗
casing | in | Case fold form. |
text | in | Input text. |
text_len | in | Number of code units in |
text_attr | in | Attributes of |
result | out | Set to |
Return Value 🔗
UNI_OK | On success. |
UNI_BAD_OPERATION | If |
UNI_BAD_ENCODING | If |
UNI_FEATURE_DISABLED | If Unicorn was built without support for case folding. |
UNI_NO_MEMORY | If dynamic memory allocation failed. |
Discussion 🔗
Check if text
is in casing form casing
. If it is, then the implementation writes true
to result
else it writes false
.
The text attributes of text
are specified by text_attr
. If text_len
is -1
, then the implementation assumes text
is null terminated.