ICU-311 for the new callback api, ucnv_getXCallBack() need to return both the function pointer and the context
X-SVN-Rev: 1874
This commit is contained in:
parent
06ca05dc38
commit
d911d40079
@ -687,7 +687,7 @@ void TestConvert()
|
||||
log_verbose("To UCallBack ok\n");
|
||||
|
||||
log_verbose("\n---Testing setTo UCallBack Roundtrip...\n");
|
||||
ucnv_setToUCallBack(myConverter,MIA2, NULL, &oldToUAction, &oldToUContext, &err);
|
||||
ucnv_setToUCallBack(myConverter,MIA2, MIA2Context, &oldToUAction, &oldToUContext, &err);
|
||||
if (U_FAILURE(err) || oldToUAction != otherCharAction(MIA2) || oldToUContext != &BOM)
|
||||
{ log_err("FAILURE! %s\n", myErrorName(err)); }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user