From 0c9d6f6b856c698bf8631c3971ff1fd8581b402b Mon Sep 17 00:00:00 2001 From: Peter Edberg Date: Thu, 22 Sep 2022 09:24:27 -0700 Subject: [PATCH] ICU-21957 Fix status tags for U_HIDDEN, unum_hasAttribute --- icu4c/source/common/unicode/platform.h | 7 +++++++ icu4c/source/i18n/unicode/unum.h | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/icu4c/source/common/unicode/platform.h b/icu4c/source/common/unicode/platform.h index 6d370efc31f..1605226a797 100644 --- a/icu4c/source/common/unicode/platform.h +++ b/icu4c/source/common/unicode/platform.h @@ -847,6 +847,13 @@ namespace std { # define U_IMPORT #endif +/** + * \def U_HIDDEN + * This is used to mark internal structs declared within external classes, + * to prevent the internal structs from having the same visibility as the + * class within which they are declared. + * @internal + */ #ifdef U_HIDDEN /* Use the predefined value. */ #elif defined(__GNUC__) diff --git a/icu4c/source/i18n/unicode/unum.h b/icu4c/source/i18n/unicode/unum.h index bdc5fafe5dd..a392afaaed2 100644 --- a/icu4c/source/i18n/unicode/unum.h +++ b/icu4c/source/i18n/unicode/unum.h @@ -1174,7 +1174,7 @@ typedef enum UNumberFormatAttribute { * @see unum_setDoubleAttribute * @see unum_getTextAttribute * @see unum_setTextAttribute -* @draft ICU 72.0 +* @draft ICU 72 */ U_CAPI bool U_EXPORT2 unum_hasAttribute(const UNumberFormat* fmt,