UNORM_YES)
{
log_data_err("ERROR in NFD quick check for string at count %d - (Are you missing data?)\n", count);
+ free(d); free(c);
return;
}
UNORM_NO)
{
log_err("ERROR in NFC quick check for string at count %d\n", count);
+ free(d); free(c);
return;
}
UNORM_YES)
{
log_data_err("ERROR in NFKD quick check for string at count %d\n", count);
+ free(d); free(c);
return;
}
UNORM_YES)
{
log_err("ERROR in NFKC quick check for string at count %d\n", count);
+ free(d); free(c);
return;
}
for (count = 0; count < 50; count ++)
{
int size = 0;
- UBool testresult = UNORM_YES;
+ UNormalizationCheckResult testresult = UNORM_YES;
UChar data[20];
UChar norm[100];
UChar nfd[100];
log_data_err("%s:%d errorCode=%s\n", __FILE__, __LINE__, u_errorName(errorCode));
break;
}
+
/* length-length == 0 is used to get around a compiler warning. */
U16_GET(nfd, 0, length-length, length, lead);
U16_GET(nfd, 0, length-1, length, trail);