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

Unified Diff: source/common/unicode/ulistformatter.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/common/unicode/uldnames.h ('k') | source/common/unicode/uloc.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/common/unicode/ulistformatter.h
diff --git a/source/common/unicode/ulistformatter.h b/source/common/unicode/ulistformatter.h
index 1c6cb2d7b12395402cb21d6269bf44449f5bdeb9..2167f60346fdd6a378181b293cfc08bd8cf28353 100644
--- a/source/common/unicode/ulistformatter.h
+++ b/source/common/unicode/ulistformatter.h
@@ -1,6 +1,8 @@
+// Copyright (C) 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
/*
*****************************************************************************************
-* Copyright (C) 2015, International Business Machines
+* Copyright (C) 2015-2016, International Business Machines
* Corporation and others. All Rights Reserved.
*****************************************************************************************
*/
@@ -11,7 +13,6 @@
#include "unicode/utypes.h"
#if !UCONFIG_NO_FORMATTING
-#ifndef U_HIDE_DRAFT_API
#include "unicode/localpointer.h"
@@ -27,10 +28,10 @@
/**
* Opaque UListFormatter object for use in C
- * @draft ICU 55
+ * @stable ICU 55
*/
struct UListFormatter;
-typedef struct UListFormatter UListFormatter; /**< C typedef for struct UListFormatter. @draft ICU 55 */
+typedef struct UListFormatter UListFormatter; /**< C typedef for struct UListFormatter. @stable ICU 55 */
/**
* Open a new UListFormatter object using the rules for a given locale.
@@ -46,9 +47,9 @@ typedef struct UListFormatter UListFormatter; /**< C typedef for struct UListFo
* @return
* A pointer to a UListFormatter object for the specified locale,
* or NULL if an error occurred.
- * @draft ICU 55
+ * @stable ICU 55
*/
-U_DRAFT UListFormatter* U_EXPORT2
+U_STABLE UListFormatter* U_EXPORT2
ulistfmt_open(const char* locale,
UErrorCode* status);
@@ -56,9 +57,9 @@ ulistfmt_open(const char* locale,
* Close a UListFormatter object. Once closed it may no longer be used.
* @param listfmt
* The UListFormatter object to close.
- * @draft ICU 55
+ * @stable ICU 55
*/
-U_DRAFT void U_EXPORT2
+U_STABLE void U_EXPORT2
ulistfmt_close(UListFormatter *listfmt);
@@ -73,7 +74,7 @@ U_NAMESPACE_BEGIN
*
* @see LocalPointerBase
* @see LocalPointer
- * @draft ICU 55
+ * @stable ICU 55
*/
U_DEFINE_LOCAL_OPEN_POINTER(LocalUListFormatterPointer, UListFormatter, ulistfmt_close);
@@ -113,7 +114,7 @@ U_NAMESPACE_END
* The total buffer size needed; if greater than resultLength, the
* output was truncated. May be <=0 if unable to determine the
* total buffer size needed (e.g. for illegal arguments).
- * @draft ICU 55
+ * @stable ICU 55
*/
U_DRAFT int32_t U_EXPORT2
ulistfmt_format(const UListFormatter* listfmt,
@@ -124,7 +125,6 @@ ulistfmt_format(const UListFormatter* listfmt,
int32_t resultCapacity,
UErrorCode* status);
-#endif /* U_HIDE_DRAFT_API */
#endif /* #if !UCONFIG_NO_FORMATTING */
#endif
« no previous file with comments | « source/common/unicode/uldnames.h ('k') | source/common/unicode/uloc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698