summaryrefslogtreecommitdiffstats
path: root/thirdparty/icu4c/i18n/unicode/uspoof.h
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/icu4c/i18n/unicode/uspoof.h')
-rw-r--r--thirdparty/icu4c/i18n/unicode/uspoof.h24
1 files changed, 6 insertions, 18 deletions
diff --git a/thirdparty/icu4c/i18n/unicode/uspoof.h b/thirdparty/icu4c/i18n/unicode/uspoof.h
index 20d29d62b2..4e029fe951 100644
--- a/thirdparty/icu4c/i18n/unicode/uspoof.h
+++ b/thirdparty/icu4c/i18n/unicode/uspoof.h
@@ -1224,7 +1224,6 @@ uspoof_areConfusable(const USpoofChecker *sc,
const UChar *id2, int32_t length2,
UErrorCode *status);
-#ifndef U_HIDE_DRAFT_API
/**
* Check whether two specified strings are visually confusable when
* displayed in a context with the given paragraph direction.
@@ -1269,13 +1268,12 @@ uspoof_areConfusable(const USpoofChecker *sc,
* enum USpoofChecks. Zero is returned if the identifiers
* are not confusable.
*
- * @draft ICU 74
+ * @stable ICU 74
*/
U_CAPI uint32_t U_EXPORT2 uspoof_areBidiConfusable(const USpoofChecker *sc, UBiDiDirection direction,
const UChar *id1, int32_t length1,
const UChar *id2, int32_t length2,
UErrorCode *status);
-#endif /* U_HIDE_DRAFT_API */
/**
* A version of {@link uspoof_areConfusable} accepting strings in UTF-8 format.
@@ -1308,7 +1306,6 @@ uspoof_areConfusableUTF8(const USpoofChecker *sc,
const char *id2, int32_t length2,
UErrorCode *status);
-#ifndef U_HIDE_DRAFT_API
/**
* A version of {@link uspoof_areBidiConfusable} accepting strings in UTF-8 format.
*
@@ -1332,7 +1329,7 @@ uspoof_areConfusableUTF8(const USpoofChecker *sc,
* enum USpoofChecks. Zero is returned if the strings
* are not confusable.
*
- * @draft ICU 74
+ * @stable ICU 74
*
* @see uspoof_areBidiConfusable
*/
@@ -1340,7 +1337,6 @@ U_CAPI uint32_t U_EXPORT2 uspoof_areBidiConfusableUTF8(const USpoofChecker *sc,
const char *id1, int32_t length1,
const char *id2, int32_t length2,
UErrorCode *status);
-#endif /* U_HIDE_DRAFT_API */
/**
* Get the "skeleton" for an identifier.
@@ -1380,7 +1376,6 @@ uspoof_getSkeleton(const USpoofChecker *sc,
UChar *dest, int32_t destCapacity,
UErrorCode *status);
-#ifndef U_HIDE_DRAFT_API
/**
* Get the "bidiSkeleton" for an identifier and a direction.
* Skeletons are a transformation of the input identifier;
@@ -1410,14 +1405,13 @@ uspoof_getSkeleton(const USpoofChecker *sc,
* is always that of the complete skeleton, even when the
* supplied buffer is too small (or of zero length)
*
- * @draft ICU 74
+ * @stable ICU 74
* @see uspoof_areBidiConfusable
*/
U_CAPI int32_t U_EXPORT2 uspoof_getBidiSkeleton(const USpoofChecker *sc,
UBiDiDirection direction,
const UChar *id, int32_t length,
UChar *dest, int32_t destCapacity, UErrorCode *status);
-#endif /* U_HIDE_DRAFT_API */
/**
* Get the "skeleton" for an identifier.
@@ -1459,7 +1453,6 @@ uspoof_getSkeletonUTF8(const USpoofChecker *sc,
char *dest, int32_t destCapacity,
UErrorCode *status);
-#ifndef U_HIDE_DRAFT_API
/**
* Get the "bidiSkeleton" for an identifier and a direction.
* Skeletons are a transformation of the input identifier;
@@ -1492,12 +1485,11 @@ uspoof_getSkeletonUTF8(const USpoofChecker *sc,
* is always that of the complete skeleton, even when the
* supplied buffer is too small (or of zero length)
*
- * @draft ICU 74
+ * @stable ICU 74
*/
U_CAPI int32_t U_EXPORT2 uspoof_getBidiSkeletonUTF8(const USpoofChecker *sc, UBiDiDirection direction,
const char *id, int32_t length, char *dest,
int32_t destCapacity, UErrorCode *status);
-#endif /* U_HIDE_DRAFT_API */
/**
* Get the set of Candidate Characters for Inclusion in Identifiers, as defined
@@ -1736,7 +1728,6 @@ uspoof_areConfusableUnicodeString(const USpoofChecker *sc,
const icu::UnicodeString &s2,
UErrorCode *status);
-#ifndef U_HIDE_DRAFT_API
/**
* A version of {@link uspoof_areBidiConfusable} accepting UnicodeStrings.
*
@@ -1756,7 +1747,7 @@ uspoof_areConfusableUnicodeString(const USpoofChecker *sc,
* enum USpoofChecks. Zero is returned if the identifiers
* are not confusable.
*
- * @draft ICU 74
+ * @stable ICU 74
*
* @see uspoof_areBidiConfusable
*/
@@ -1765,7 +1756,6 @@ U_CAPI uint32_t U_EXPORT2 uspoof_areBidiConfusableUnicodeString(const USpoofChec
const icu::UnicodeString &s1,
const icu::UnicodeString &s2,
UErrorCode *status);
-#endif /* U_HIDE_DRAFT_API */
/**
* Get the "skeleton" for an identifier.
@@ -1797,7 +1787,6 @@ uspoof_getSkeletonUnicodeString(const USpoofChecker *sc,
icu::UnicodeString &dest,
UErrorCode *status);
-#ifndef U_HIDE_DRAFT_API
/**
* Get the "bidiSkeleton" for an identifier and a direction.
* Skeletons are a transformation of the input identifier;
@@ -1820,12 +1809,11 @@ uspoof_getSkeletonUnicodeString(const USpoofChecker *sc,
* perform the check.
* @return A reference to the destination (skeleton) string.
*
- * @draft ICU 74
+ * @stable ICU 74
*/
U_I18N_API icu::UnicodeString &U_EXPORT2 uspoof_getBidiSkeletonUnicodeString(
const USpoofChecker *sc, UBiDiDirection direction, const icu::UnicodeString &id,
icu::UnicodeString &dest, UErrorCode *status);
-#endif /* U_HIDE_DRAFT_API */
/**
* Get the set of Candidate Characters for Inclusion in Identifiers, as defined