mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
ICU-3984 fix mismatched const int in r28999
X-SVN-Rev: 29003
This commit is contained in:
parent
e0c4099c9e
commit
6a5f83ff80
4 changed files with 12 additions and 12 deletions
icu4c/source/i18n
|
@ -833,7 +833,7 @@ Collator::getFunctionalEquivalent(const char* keyword, const Locale& locale,
|
|||
return Locale::createFromName(loc);
|
||||
}
|
||||
|
||||
int32_t Collator::getReorderCodes(int32_t *dest,
|
||||
int32_t U_EXPORT2 Collator::getReorderCodes(int32_t *dest,
|
||||
int32_t destCapacity,
|
||||
UErrorCode& status) const
|
||||
{
|
||||
|
@ -843,7 +843,7 @@ int32_t Collator::getReorderCodes(int32_t *dest,
|
|||
return 0;
|
||||
}
|
||||
|
||||
void Collator::setReorderCodes(const int32_t *reorderCodes,
|
||||
void U_EXPORT2 Collator::setReorderCodes(const int32_t *reorderCodes,
|
||||
int32_t reorderCodesLength,
|
||||
UErrorCode& status)
|
||||
{
|
||||
|
|
|
@ -588,14 +588,14 @@ void RuleBasedCollator::setStrength(ECollationStrength newStrength)
|
|||
}
|
||||
|
||||
int32_t RuleBasedCollator::getReorderCodes(int32_t *dest,
|
||||
const int32_t destCapacity,
|
||||
int32_t destCapacity,
|
||||
UErrorCode& status) const
|
||||
{
|
||||
return ucol_getReorderCodes(ucollator, dest, destCapacity, &status);
|
||||
}
|
||||
|
||||
void RuleBasedCollator::setReorderCodes(const int32_t *reorderCodes,
|
||||
const int32_t reorderCodesLength,
|
||||
int32_t reorderCodesLength,
|
||||
UErrorCode& status)
|
||||
{
|
||||
ucol_setReorderCodes(ucollator, reorderCodes, reorderCodesLength, &status);
|
||||
|
|
|
@ -606,8 +606,8 @@ public:
|
|||
* @see ucol_getReorderCodes
|
||||
* @internal
|
||||
*/
|
||||
virtual int32_t getReorderCodes(int32_t *dest,
|
||||
const int32_t destCapacity,
|
||||
virtual int32_t U_EXPORT2 getReorderCodes(int32_t *dest,
|
||||
int32_t destCapacity,
|
||||
UErrorCode& status) const;
|
||||
|
||||
/**
|
||||
|
@ -617,8 +617,8 @@ public:
|
|||
* @see ucol_setReorderCodes
|
||||
* @internal
|
||||
*/
|
||||
virtual void setReorderCodes(const int32_t* reorderCodes,
|
||||
const int32_t reorderCodesLength,
|
||||
virtual void U_EXPORT2 setReorderCodes(const int32_t* reorderCodes,
|
||||
int32_t reorderCodesLength,
|
||||
UErrorCode& status) ;
|
||||
|
||||
/**
|
||||
|
|
|
@ -675,8 +675,8 @@ public:
|
|||
* @see ucol_getReorderCodes
|
||||
* @internal
|
||||
*/
|
||||
virtual int32_t getReorderCodes(int32_t* dest,
|
||||
const int32_t destCapacity,
|
||||
virtual int32_t U_EXPORT2 getReorderCodes(int32_t* dest,
|
||||
int32_t destCapacity,
|
||||
UErrorCode& status) const;
|
||||
|
||||
/**
|
||||
|
@ -686,8 +686,8 @@ public:
|
|||
* @see ucol_setReorderCodes
|
||||
* @internal
|
||||
*/
|
||||
virtual void setReorderCodes(const int32_t* reorderCodes,
|
||||
const int32_t reorderCodesLength,
|
||||
virtual void U_EXPORT2 setReorderCodes(const int32_t* reorderCodes,
|
||||
int32_t reorderCodesLength,
|
||||
UErrorCode& status);
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue