ICU-6149 Use traditional ICU C callback declarations.
X-SVN-Rev: 23482
This commit is contained in:
parent
fe7e42eace
commit
83abd2cfe6
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user