Chromium Code Reviews

Unified Diff: source/i18n/unicode/ufieldpositer.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.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « source/i18n/unicode/udisplaycontext.h ('k') | source/i18n/unicode/uformattable.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/i18n/unicode/ufieldpositer.h
diff --git a/source/i18n/unicode/ufieldpositer.h b/source/i18n/unicode/ufieldpositer.h
index 6cc9ffada496c3018ced77e9f01b36b6211ac607..8dfa3df5a409d01f279a608cc40e4c60c93a03ca 100644
--- a/source/i18n/unicode/ufieldpositer.h
+++ b/source/i18n/unicode/ufieldpositer.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"
@@ -37,10 +38,10 @@
/**
* Opaque UFieldPositionIterator object for use in C.
- * @draft ICU 55
+ * @stable ICU 55
*/
struct UFieldPositionIterator;
-typedef struct UFieldPositionIterator UFieldPositionIterator; /**< C typedef for struct UFieldPositionIterator. @draft ICU 55 */
+typedef struct UFieldPositionIterator UFieldPositionIterator; /**< C typedef for struct UFieldPositionIterator. @stable ICU 55 */
/**
* Open a new, unset UFieldPositionIterator object.
@@ -49,18 +50,18 @@ typedef struct UFieldPositionIterator UFieldPositionIterator; /**< C typedef fo
* @return
* A pointer to an empty (unset) UFieldPositionIterator object,
* or NULL if an error occurred.
- * @draft ICU 55
+ * @stable ICU 55
*/
-U_DRAFT UFieldPositionIterator* U_EXPORT2
+U_STABLE UFieldPositionIterator* U_EXPORT2
ufieldpositer_open(UErrorCode* status);
/**
* Close a UFieldPositionIterator object. Once closed it may no longer be used.
* @param fpositer
* A pointer to the UFieldPositionIterator object to close.
- * @draft ICU 55
+ * @stable ICU 55
*/
-U_DRAFT void U_EXPORT2
+U_STABLE void U_EXPORT2
ufieldpositer_close(UFieldPositionIterator *fpositer);
@@ -75,7 +76,7 @@ U_NAMESPACE_BEGIN
*
* @see LocalPointerBase
* @see LocalPointer
- * @draft ICU 55
+ * @stable ICU 55
*/
U_DEFINE_LOCAL_OPEN_POINTER(LocalUFieldPositionIteratorPointer, UFieldPositionIterator, ufieldpositer_close);
@@ -85,8 +86,8 @@ U_NAMESPACE_END
/**
* Get information for the next field in the formatted string to which this
- * UFieldPositionIterator currently applies, or return FALSE if there are
- * no more fields.
+ * UFieldPositionIterator currently applies, or return a negative value if there
+ * are no more fields.
* @param fpositer
* A pointer to the UFieldPositionIterator object containing iteration
* state for the format fields.
@@ -109,13 +110,12 @@ U_NAMESPACE_END
* descriptions of format functions that take a UFieldPositionIterator*
* parameter, such as {@link #udat_formatForFields}.
*
- * @draft ICU 55
+ * @stable ICU 55
*/
-U_DRAFT int32_t U_EXPORT2
+U_STABLE int32_t U_EXPORT2
ufieldpositer_next(UFieldPositionIterator *fpositer,
int32_t *beginIndex, int32_t *endIndex);
-#endif /* U_HIDE_DRAFT_API */
#endif /* #if !UCONFIG_NO_FORMATTING */
#endif
« no previous file with comments | « source/i18n/unicode/udisplaycontext.h ('k') | source/i18n/unicode/uformattable.h » ('j') | no next file with comments »

Powered by Google App Engine