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

#define U8_FWD_N_UNSAFE ( s,
i,
 ) 

Value:

{ \
    int32_t __N=(n); \
    while(__N>0) { \
        U8_FWD_1_UNSAFE(s, i); \
        --__N; \
    } \
}
Advance the string offset from one code point boundary to the n-th next one, i.e., move forward by n code points. (Post-incrementing iteration.) "Unsafe" macro, assumes well-formed UTF-8.

Parameters:
s const uint8_t * string
i string offset
n number of code points to skip
See also:
U8_FWD_N ICU 2.4

Definition at line 427 of file utf8.h.


Generated by  Doxygen 1.6.0   Back to index