Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(396)

Unified Diff: source/i18n/unicode/usearch.h

Issue 2440913002: Update ICU to 58.1
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « source/i18n/unicode/ureldatefmt.h ('k') | source/i18n/unicode/uspoof.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/i18n/unicode/usearch.h
diff --git a/source/i18n/unicode/usearch.h b/source/i18n/unicode/usearch.h
index 75521f528a410fae192358b070f38590d6626a3d..b1d53f512d86ab5458bf154c889c67332b26f6cc 100644
--- a/source/i18n/unicode/usearch.h
+++ b/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 ------------------------------------------------------ */
« no previous file with comments | « source/i18n/unicode/ureldatefmt.h ('k') | source/i18n/unicode/uspoof.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698