]> granicus.if.org Git - icu/commitdiff
ICU-20306 Remove incorrect #ifndef U_HIDE_INTERNAL_API around UTEXT_MAGIC
authorPeter Edberg <pedberg@unicode.org>
Thu, 7 Feb 2019 00:40:35 +0000 (16:40 -0800)
committerpedberg-icu <42151464+pedberg-icu@users.noreply.github.com>
Thu, 7 Feb 2019 03:26:38 +0000 (19:26 -0800)
icu4c/source/common/unicode/utext.h

index ad21d70a164c9e69c4fcb0ef7b2651abca0128c8..4b06962103efc78635751dcc9c82191beb86953e 100644 (file)
@@ -1555,7 +1555,7 @@ struct UText {
 U_STABLE UText * U_EXPORT2
 utext_setup(UText *ut, int32_t extraSpace, UErrorCode *status);
 
-#ifndef U_HIDE_INTERNAL_API
+// do not use #ifndef U_HIDE_INTERNAL_API around the following!
 /**
   * @internal
   *  Value used to help identify correctly initialized UText structs.
@@ -1564,7 +1564,6 @@ utext_setup(UText *ut, int32_t extraSpace, UErrorCode *status);
 enum {
     UTEXT_MAGIC = 0x345ad82c
 };
-#endif  /* U_HIDE_INTERNAL_API */
 
 /**
  * initializer to be used with local (stack) instances of a UText