Function
uni_caseconvchk
Check case status.
Since v1.0
unistat uni_caseconvchk(
Parameters 🔗
| casing | in | Casing operation to apply to |
| 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 conversion. |
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.