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

#define UTEXT_CURRENT32 ( ut   ) 


((ut)->chunkOffset < (ut)->chunkLength && ((ut)->chunkContents)[(ut)->chunkOffset]<0xd800 ? \
    ((ut)->chunkContents)[((ut)->chunkOffset)] : utext_current32(ut))
inline version of utext_current32(), for performance-critical situations.

Get the code point at the current iteration position of the UText. Returns U_SENTINEL (-1) if the position is at the end of the text.

For internal use only.

ICU 4.4 technology preview

Definition at line 844 of file utext.h.

Referenced by RegexMatcher::appendReplacement(), and RegexMatcher::find().

Generated by  Doxygen 1.6.0   Back to index