From d1b51942adde8ff9a428cf5c6b55c0a778416c69 Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Tue, 26 Feb 2008 08:40:20 +0000 Subject: [PATCH] ICU-6149 Use traditional ICU C callback declarations. X-SVN-Rev: 23485 --- icu4c/source/i18n/uregex.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/icu4c/source/i18n/uregex.cpp b/icu4c/source/i18n/uregex.cpp index 852a11e6282..48a1f3ddec5 100644 --- a/icu4c/source/i18n/uregex.cpp +++ b/icu4c/source/i18n/uregex.cpp @@ -701,7 +701,7 @@ uregex_getStackLimit(const URegularExpression *regexp, //------------------------------------------------------------------------------ U_CAPI void U_EXPORT2 uregex_setMatchCallback(URegularExpression *regexp, - URegexMatchCallback callback, + URegexMatchCallback *callback, const void *context, UErrorCode *status) { if (validateRE(regexp, status)) { @@ -717,7 +717,7 @@ uregex_setMatchCallback(URegularExpression *regexp, //------------------------------------------------------------------------------ U_CAPI void U_EXPORT2 uregex_getMatchCallback(const URegularExpression *regexp, - URegexMatchCallback *callback, + URegexMatchCallback **callback, const void **context, UErrorCode *status) { if (validateRE(regexp, status)) {