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

U_DRAFT int32_t U_EXPORT2 unorm2_append ( const UNormalizer2 norm2,
UChar *  first,
int32_t  firstLength,
int32_t  firstCapacity,
const UChar *  second,
int32_t  secondLength,
UErrorCode pErrorCode 

Appends the second string to the first string (merging them at the boundary) and returns the length of the first string. The result is normalized if both the strings were normalized. The first and second strings must be different buffers.

norm2 UNormalizer2 instance
first string, should be normalized
firstLength length of the first string, or -1 if NUL-terminated
firstCapacity number of UChars that can be written to first
second string, should be normalized
secondLength length of the source string, or -1 if NUL-terminated
pErrorCode Standard ICU error code. Its input value must pass the U_SUCCESS() test, or else the function returns immediately. Check for U_FAILURE() on output or use with function chaining. (See User Guide for details.)
first ICU 4.4

Definition at line 712 of file normalizer2.cpp.

References FALSE, and Normalizer2::normalizeSecondAndAppend().

    return normalizeSecondAndAppend(norm2,
                                    first, firstLength, firstCapacity,
                                    second, secondLength,
                                    FALSE, pErrorCode);

Generated by  Doxygen 1.6.0   Back to index