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:
Markus Scherer 2000-07-14 01:33:02 +00:00
parent 06ca05dc38
commit d911d40079

View File

@ -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)); }