Logo Search packages:      
Sourcecode: icu version File versions  Download package

typedef int64_t U_CALLCONV UTextMapOffsetToNative(const UText *ut)

Function type declaration for UText.mapOffsetToNative(). Map from the current UChar offset within the current text chunk to the corresponding native index in the original source text.

This is required only for text providers that do not use native UTF-16 indexes.

Parameters:
ut the UText.
Returns:
Absolute (native) index corresponding to chunkOffset in the current chunk. The returned native index should always be to a code point boundary.
ICU 3.4

Definition at line 1297 of file utext.h.


Generated by  Doxygen 1.6.0   Back to index