mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 01:11:02 +00:00
ICU-8157 remove U_EXPORT2 and add ifdef no internal
X-SVN-Rev: 31444
This commit is contained in:
parent
3b47d3fee3
commit
f0eb1ff995
4 changed files with 8 additions and 5 deletions
|
@ -888,9 +888,9 @@ Collator::getEquivalentReorderCodes(int32_t /* reorderCode */,
|
|||
return 0;
|
||||
}
|
||||
|
||||
int32_t U_EXPORT2
|
||||
Collator::internalGetShortDefinitionString(const char */*locale*/,
|
||||
char */*buffer*/,
|
||||
int32_t
|
||||
Collator::internalGetShortDefinitionString(const char * /*locale*/,
|
||||
char * /*buffer*/,
|
||||
int32_t /*capacity*/,
|
||||
UErrorCode &status) const {
|
||||
if(U_SUCCESS(status)) {
|
||||
|
|
|
@ -762,7 +762,7 @@ RuleBasedCollator::checkOwned() {
|
|||
}
|
||||
|
||||
|
||||
int32_t U_EXPORT2 RuleBasedCollator::internalGetShortDefinitionString(const char *locale,
|
||||
int32_t RuleBasedCollator::internalGetShortDefinitionString(const char *locale,
|
||||
char *buffer,
|
||||
int32_t capacity,
|
||||
UErrorCode &status) const {
|
||||
|
|
|
@ -1049,6 +1049,7 @@ public:
|
|||
#endif /* U_HIDE_INTERNAL_API */
|
||||
#endif
|
||||
|
||||
#ifndef U_HIDE_INTERNAL_API
|
||||
/** Get the short definition string for a collator. This internal API harvests the collator's
|
||||
* locale and the attribute set and produces a string that can be used for opening
|
||||
* a collator with the same properties using the ucol_openFromShortString API.
|
||||
|
@ -1076,6 +1077,7 @@ public:
|
|||
char *buffer,
|
||||
int32_t capacity,
|
||||
UErrorCode &status) const;
|
||||
#endif
|
||||
|
||||
private:
|
||||
/**
|
||||
|
|
|
@ -912,6 +912,7 @@ private:
|
|||
UCollationStrength getUCollationStrength(
|
||||
const Collator::ECollationStrength &strength) const;
|
||||
public:
|
||||
#ifndef U_HIDE_INTERNAL_API
|
||||
/** Get the short definition string for a collator. This internal API harvests the collator's
|
||||
* locale and the attribute set and produces a string that can be used for opening
|
||||
* a collator with the same properties using the ucol_openFromShortString API.
|
||||
|
@ -939,7 +940,7 @@ private:
|
|||
char *buffer,
|
||||
int32_t capacity,
|
||||
UErrorCode &status) const;
|
||||
|
||||
#endif
|
||||
};
|
||||
|
||||
// inline method implementation ---------------------------------------------
|
||||
|
|
Loading…
Add table
Reference in a new issue