X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/b75a7d8f3b4adbae880cab104ce2c6a50eee4db2..e4f10fab0c078f399c9deef476d9c9b73b47dff8:/icuSources/test/intltest/idnaref.h?ds=sidebyside diff --git a/icuSources/test/intltest/idnaref.h b/icuSources/test/intltest/idnaref.h index 07654783..9b0bebd4 100644 --- a/icuSources/test/intltest/idnaref.h +++ b/icuSources/test/intltest/idnaref.h @@ -1,7 +1,7 @@ /* ******************************************************************************* * - * Copyright (C) 2003, International Business Machines + * Copyright (C) 2003-2011, International Business Machines * Corporation and others. All Rights Reserved. * ******************************************************************************* @@ -26,7 +26,7 @@ #define IDNAREF_DEFAULT 0x0000 #define IDNAREF_ALLOW_UNASSIGNED 0x0001 #define IDNAREF_USE_STD3_RULES 0x0002 - + /** * This function implements the ToASCII operation as defined in the IDNA draft. * This operation is done on single labels before sending it to something that expects @@ -57,9 +57,8 @@ * too many code points. * U_BUFFER_OVERFLOW_ERROR if destCapacity is not enough * @return Number of ASCII characters converted. - * @draft ICU 2.6 */ -U_CFUNC int32_t +U_CFUNC int32_t U_EXPORT2 idnaref_toASCII(const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, @@ -96,9 +95,8 @@ idnaref_toASCII(const UChar* src, int32_t srcLength, * too many code points. * U_BUFFER_OVERFLOW_ERROR if destCapacity is not enough * @return Number of Unicode characters converted. - * @draft ICU 2.6 */ -U_CFUNC int32_t +U_CFUNC int32_t U_EXPORT2 idnaref_toUnicode(const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, @@ -140,9 +138,8 @@ idnaref_toUnicode(const UChar* src, int32_t srcLength, * too many code points. * U_BUFFER_OVERFLOW_ERROR if destCapacity is not enough * @return Number of ASCII characters converted. - * @draft ICU 2.6 */ -U_CFUNC int32_t +U_CFUNC int32_t U_EXPORT2 idnaref_IDNToASCII( const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, @@ -180,9 +177,8 @@ idnaref_IDNToASCII( const UChar* src, int32_t srcLength, * too many code points. * U_BUFFER_OVERFLOW_ERROR if destCapacity is not enough * @return Number of ASCII characters converted. - * @draft ICU 2.6 */ -U_CFUNC int32_t +U_CFUNC int32_t U_EXPORT2 idnaref_IDNToUnicode( const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, @@ -215,9 +211,8 @@ idnaref_IDNToUnicode( const UChar* src, int32_t srcLength, * @param status ICU error code in/out parameter. * Must fulfill U_SUCCESS before the function call. * @return <0 or 0 or >0 as usual for string comparisons - * @draft ICU 2.6 */ -U_CFUNC int32_t +U_CFUNC int32_t U_EXPORT2 idnaref_compare( const UChar *s1, int32_t length1, const UChar *s2, int32_t length2, int32_t options,