UCDisposeTextBreakLocator
Disposes a text-break locator object.
Declaration
OSStatus UCDisposeTextBreakLocator(TextBreakLocatorRef *breakRef);Parameters
- breakRef:
A reference to a valid text-break locator object. The
UCDisposeTextBreakLocatorfunction sets*breakReftoNULL.
Return Value
A result code. This function can return paramErr, for example, if the breakRef parameter is NULL.
Discussion
To find boundaries in Unicode text, you must supply locale and text-break specifications to the function UCFindTextBreak. You provide this information by means of a text-break locator object, created via the function UCCreateTextBreakLocator. When finished with the text-break locator object, you should dispose of it using the function UCDisposeTextBreakLocator.