ICU-6149 Use traditional ICU C callback declarations.

X-SVN-Rev: 23482
This commit is contained in:
George Rhoten 2008-02-25 22:32:11 +00:00
parent fe7e42eace
commit 83abd2cfe6

View File

@ -1207,7 +1207,7 @@ static void TestRegexCAPI(void) {
TEST_SETUP("((.)+\\2)+x", "aaaaaaaaaaaaaaaaaaab", 0)
callBackContext cbInfo = {4, 0, 0};
const void *pContext = &cbInfo;
URegexMatchCallback returnedFn = &TestCallbackFn;
URegexMatchCallback *returnedFn = &TestCallbackFn;
/* Getting the callback fn when it hasn't been set must return NULL */
uregex_getMatchCallback(re, &returnedFn, &pContext, &status);