ICU-21900 check non-stable API macros, fix missing U_DEPRECATED
authorPeter Edberg <pedberg@unicode.org>
Wed, 2 Mar 2022 07:28:49 +0000 (23:28 -0800)
committerPeter Edberg <42151464+pedberg-icu@users.noreply.github.com>
Wed, 2 Mar 2022 18:34:16 +0000 (10:34 -0800)
icu4c/source/common/unicode/ubrk.h
icu4c/source/common/unicode/ucnv.h
icu4c/source/i18n/unicode/ucol.h

index 0c406a4757a2fc08b17a9744d68f085b28e191af..2b3dc7aa576803ac5760aa186af3d632fcf65d2a 100644 (file)
@@ -317,7 +317,7 @@ ubrk_openBinaryRules(const uint8_t *binaryRules, int32_t rulesLength,
  * @return pointer to the new clone
  * @deprecated ICU 69 Use ubrk_clone() instead.
  */
-U_CAPI UBreakIterator * U_EXPORT2
+U_DEPRECATED UBreakIterator * U_EXPORT2
 ubrk_safeClone(
           const UBreakIterator *bi,
           void *stackBuffer,
index 9a7733155c61f783716c2637c9cb77e2c38cbdfa..20c173b662832ddbbceaf17ce7fa370406e33d0b 100644 (file)
@@ -553,7 +553,7 @@ U_CAPI UConverter* U_EXPORT2 ucnv_clone(const UConverter *cnv, UErrorCode *statu
  * @return pointer to the new clone
  * @deprecated ICU 71 Use ucnv_clone() instead.
  */
-U_CAPI UConverter * U_EXPORT2
+U_DEPRECATED UConverter * U_EXPORT2
 ucnv_safeClone(const UConverter *cnv,
                void             *stackBuffer,
                int32_t          *pBufferSize,
index a17804fddfeb1c289260c6096abb9aa7401e73ab..24963312216941c2098df20160e37b5e8ab75c66 100644 (file)
@@ -1346,7 +1346,7 @@ U_CAPI UCollator* U_EXPORT2 ucol_clone(const UCollator *coll, UErrorCode *status
  * @see ucol_close
  * @deprecated ICU 71 Use ucol_clone() instead.
  */
-U_CAPI UCollator* U_EXPORT2 
+U_DEPRECATED UCollator* U_EXPORT2
 ucol_safeClone(const UCollator *coll,
                void            *stackBuffer,
                int32_t         *pBufferSize,