summaryrefslogtreecommitdiff
path: root/deps/icu-small/source/i18n/unicode/usearch.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/icu-small/source/i18n/unicode/usearch.h')
-rw-r--r--deps/icu-small/source/i18n/unicode/usearch.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/deps/icu-small/source/i18n/unicode/usearch.h b/deps/icu-small/source/i18n/unicode/usearch.h
index 10721bc726..dcdb7fe420 100644
--- a/deps/icu-small/source/i18n/unicode/usearch.h
+++ b/deps/icu-small/source/i18n/unicode/usearch.h
@@ -1,3 +1,5 @@
+// Copyright (C) 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
/*
**********************************************************************
* Copyright (C) 2001-2011,2014 IBM and others. All rights reserved.
@@ -188,11 +190,13 @@ typedef enum {
*/
USEARCH_ELEMENT_COMPARISON = 2,
+#ifndef U_HIDE_DEPRECATED_API
/**
- * Count of attribute types
- * @stable ICU 2.4
+ * One more than the highest normal USearchAttribute value.
+ * @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
*/
USEARCH_ATTRIBUTE_COUNT = 3
+#endif // U_HIDE_DEPRECATED_API
} USearchAttribute;
/**
@@ -262,11 +266,13 @@ typedef enum {
*/
USEARCH_ANY_BASE_WEIGHT_IS_WILDCARD,
+#ifndef U_HIDE_DEPRECATED_API
/**
- * Count of attribute values
- * @stable ICU 2.4
+ * One more than the highest normal USearchAttributeValue value.
+ * @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
*/
USEARCH_ATTRIBUTE_VALUE_COUNT
+#endif // U_HIDE_DEPRECATED_API
} USearchAttributeValue;
/* open and close ------------------------------------------------------ */