mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-15 01:42:37 +00:00
ICU-2364 update according to the code review
X-SVN-Rev: 12146
This commit is contained in:
parent
9aa45e0807
commit
45d6db672b
3 changed files with 5 additions and 3 deletions
|
@ -87,7 +87,7 @@ isAcceptableUCA(void * /*context*/,
|
|||
UVersionInfo UCDVersion;
|
||||
u_getUnicodeVersion(UCDVersion);
|
||||
if(pInfo->dataVersion[0]==UCDVersion[0] &&
|
||||
pInfo->dataVersion[1]>=UCDVersion[1]) { // &&
|
||||
pInfo->dataVersion[1]==UCDVersion[1]) { // &&
|
||||
//pInfo->dataVersion[2]==ucaDataInfo.dataVersion[2] &&
|
||||
//pInfo->dataVersion[3]==ucaDataInfo.dataVersion[3]) {
|
||||
return TRUE;
|
||||
|
|
|
@ -53,7 +53,7 @@ isAcceptableInvUCA(void * /*context*/,
|
|||
UVersionInfo UCDVersion;
|
||||
u_getUnicodeVersion(UCDVersion);
|
||||
if(pInfo->dataVersion[0]==UCDVersion[0] &&
|
||||
pInfo->dataVersion[1]>=UCDVersion[1]) {
|
||||
pInfo->dataVersion[1]==UCDVersion[1]) {
|
||||
//pInfo->dataVersion[1]==invUcaDataInfo.dataVersion[1] &&
|
||||
//pInfo->dataVersion[2]==invUcaDataInfo.dataVersion[2] &&
|
||||
//pInfo->dataVersion[3]==invUcaDataInfo.dataVersion[3]) {
|
||||
|
|
|
@ -594,7 +594,9 @@ ucol_getBound(const uint8_t *source,
|
|||
UErrorCode *status);
|
||||
|
||||
/**
|
||||
* Gets the version information for a Collator.
|
||||
* Gets the version information for a Collator. Version is currently
|
||||
* an opaque 32-bit number which depends, among other things, on major
|
||||
* versions of the collator tailoring and UCA.
|
||||
* @param coll The UCollator to query.
|
||||
* @param info the version # information, the result will be filled in
|
||||
* @stable ICU 2.0
|
||||
|
|
Loading…
Add table
Reference in a new issue