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

#define U8_SET_CP_LIMIT_UNSAFE ( s,
 ) 

Value:

{ \
    U8_BACK_1_UNSAFE(s, i); \
    U8_FWD_1_UNSAFE(s, i); \
}
Adjust a random-access offset to a code point boundary after a code point. If the offset is behind a partial multi-byte sequence, then the offset is incremented to behind the whole sequence. Otherwise, it is not modified. The input offset may be the same as the string length. "Unsafe" macro, assumes well-formed UTF-8.

Parameters:
s const uint8_t * string
i string offset
See also:
U8_SET_CP_LIMIT ICU 2.4

Definition at line 656 of file utf8.h.


Generated by  Doxygen 1.6.0   Back to index