ICU-8157 remove U_EXPORT2 and add ifdef no internal

X-SVN-Rev: 31444
This commit is contained in:
Steven R. Loomis 2012-02-19 09:14:56 +00:00
parent 3b47d3fee3
commit f0eb1ff995
4 changed files with 8 additions and 5 deletions

View file

@ -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)) {

View file

@ -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 {

View file

@ -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:
/**

View file

@ -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 ---------------------------------------------