From bc4a8b72c1960c5a0067b4803f3b76b91f5f6c56 Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Thu, 8 Nov 2007 21:06:10 +0000 Subject: [PATCH] ICU-6001 Fix callback X-SVN-Rev: 22906 --- icu4c/source/test/intltest/convtest.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/icu4c/source/test/intltest/convtest.cpp b/icu4c/source/test/intltest/convtest.cpp index c4c9e8ad5d4..2afbcc92e40 100644 --- a/icu4c/source/test/intltest/convtest.cpp +++ b/icu4c/source/test/intltest/convtest.cpp @@ -466,7 +466,8 @@ ConversionTest::TestGetUnicodeSet() { } } -static void U_EXPORT2 +U_CDECL_BEGIN +static void U_CALLCONV getUnicodeSetCallback(const void *context, UConverterFromUnicodeArgs *fromUArgs, const UChar* codeUnits, @@ -479,6 +480,7 @@ getUnicodeSetCallback(const void *context, *pErrorCode=U_ZERO_ERROR; // skip } // else ignore the reset, close and clone calls. } +U_CDECL_END // Compare ucnv_getUnicodeSet() with the set of characters that can be converted. void