ICU-21900 check non-stable API macros, fix missing U_DEPRECATED

This commit is contained in:
Peter Edberg 2022-03-01 23:28:49 -08:00 committed by Peter Edberg
parent 87e31395da
commit 0ce0d1aa5d
3 changed files with 3 additions and 3 deletions

View 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,

View 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,

View 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,