]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/tools/genrb/ustr.h
ICU-8.11.1.tar.gz
[apple/icu.git] / icuSources / tools / genrb / ustr.h
index 2160969c51dfe09bc78a48d5a1efdf8aa8065ead..085643a8d7a7d25985917f4ef445cc83e934383a 100644 (file)
     }                                                           \
     else                                                        \
     {                                                           \
-        target[0] = U16_LEAD(c);                                                               \
-        target[1] = U16_TRAIL(c);                                                          \
+        target[0] = U16_LEAD(c);                                \
+        target[1] = U16_TRAIL(c);                               \
         len=2;                                                  \
-               target +=2;                                                                                             \
+        target +=2;                                             \
     }                                                           \
 }
 
@@ -61,5 +61,6 @@ void ustr_ncat(struct UString *dst, const struct UString *src,
            int32_t n, UErrorCode *status);
 
 void ustr_ucat(struct UString *dst, UChar c, UErrorCode *status);
+void ustr_u32cat(struct UString *dst, UChar32 c, UErrorCode *status);
 void ustr_uscat(struct UString *dst, const UChar* src,int len,UErrorCode *status);
 #endif