ICU-21581 check non-stable API macros (mostly U_HIDE_INTERNAL_API)

This commit is contained in:
Peter Edberg 2021-09-28 22:22:18 -07:00 committed by Peter Edberg
parent 2b76d335fb
commit 4fd10ba2b7
6 changed files with 10 additions and 8 deletions

View file

@ -841,7 +841,7 @@ typedef enum ULocAvailableType {
* @internal
*/
ULOC_AVAILABLE_COUNT
#endif
#endif /* U_HIDE_INTERNAL_API */
} ULocAvailableType;
/**

View file

@ -647,7 +647,7 @@ public:
private:
/**
* No Copy constructor.
* @internal
* @internal (private)
*/
AlphabeticIndex(const AlphabeticIndex &other);
@ -658,13 +658,13 @@ private:
/**
* No Equality operators.
* @internal
* @internal (private)
*/
virtual bool operator==(const AlphabeticIndex& other) const;
/**
* Inequality operator.
* @internal
* @internal (private)
*/
virtual bool operator!=(const AlphabeticIndex& other) const;
@ -723,7 +723,7 @@ private:
/**
* Holds all user records before they are distributed into buckets.
* Type of contents is (Record *)
* @internal
* @internal (private)
*/
UVector *inputList_;

View file

@ -174,7 +174,7 @@ public:
* @internal
*/
kApproximatelySignSymbol,
#endif
#endif /* U_HIDE_INTERNAL_API */
/** count symbol constants */
kFormatSymbolCount = kExponentMultiplicationSymbol + 2
};

View file

@ -107,12 +107,14 @@ typedef enum UMeasurePrefix {
*/
UMEASURE_PREFIX_YOTTA = UMEASURE_PREFIX_ONE + 24,
#ifndef U_HIDE_INTERNAL_API
/**
* ICU use only.
* Used to determine the set of base-10 SI prefixes.
* @internal
*/
UMEASURE_PREFIX_INTERNAL_MAX_SI = UMEASURE_PREFIX_YOTTA,
#endif /* U_HIDE_INTERNAL_API */
/**
* SI prefix: zetta, 10^21.

View file

@ -648,7 +648,7 @@ class U_I18N_API FormattedNumberRange : public UMemory, public FormattedValue {
*/
FormattedNumberRange()
: fData(nullptr), fErrorCode(U_INVALID_STATE_ERROR) {}
#endif
#endif /* U_HIDE_DRAFT_API */
/**
* Copying not supported; use move constructor instead.

View file

@ -193,7 +193,7 @@ typedef enum UNumberRangeIdentityResult {
* @internal
*/
UNUM_IDENTITY_RESULT_COUNT
#endif
#endif /* U_HIDE_INTERNAL_API */
} UNumberRangeIdentityResult;