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

#define UTF_PREV_CHAR ( s,
start,
i,
 )     U16_PREV(s, start, i, c)

Set c to the code point that has code units before i and move i backward (towards the beginning of the string) to the first code unit of this code point (pre-increment). i must point to the first code unit after the last unit of a code point (i==length is allowed). Same as UTF16_PREV_CHAR.

Precondition:
start<i<=length
Postcondition:
start<=i<length
Deprecated:
ICU 2.4. Renamed to U16_PREV, see utf_old.h.

Definition at line 1126 of file utf_old.h.

Referenced by UCharCharacterIterator::last32(), and UCharCharacterIterator::previous32().


Generated by  Doxygen 1.6.0   Back to index