Function
uni_prevbrk
Compute preceding boundary.
Since v1.0
unistat uni_prevbrk(
Parameters 🔗
| boundary | in | Boundary to detect. |
| text | in | The text to segment. |
| text_len | in | Number of code units in |
| text_attr | in | Attributes of |
| index | inout | Code point boundary as a code unit offset in |
Return Value 🔗
| UNI_OK | If the break iterator was successfully repositioned. |
| UNI_DONE | If |
| UNI_BAD_OPERATION | If |
| UNI_BAD_ENCODING | If |
Discussion 🔗
Compute the preceding boundary for text starting from a known code point specified by code unit index index. The implementation sets index to the code unit offset of the preceding boundary.