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

#define UTF_BACK_N (   s,
  start,
  i,
 
)    U16_BACK_N(s, start, i, n)

Move i backward (towards the beginning of the string) to the first code unit of the n code points that have code units before i. I.e., move i backward by n code points. i must point to the first code unit after the last unit of a code point (i==length is allowed). Same as UTF16_BACK_N.

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

Definition at line 1152 of file utf_old.h.

Referenced by SCharacterIterator::move32(), UCharCharacterIterator::move32(), and UnicodeString::moveIndex32().


Generated by  Doxygen 1.6.0   Back to index