X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/b75a7d8f3b4adbae880cab104ce2c6a50eee4db2..374ca955a76ecab1204ca8bfa63ff9238d998416:/icuSources/common/unicode/uenum.h diff --git a/icuSources/common/unicode/uenum.h b/icuSources/common/unicode/uenum.h index 80a12790..63690f8b 100644 --- a/icuSources/common/unicode/uenum.h +++ b/icuSources/common/unicode/uenum.h @@ -1,7 +1,7 @@ /* ******************************************************************************* * -* Copyright (C) 2002, International Business Machines +* Copyright (C) 2002-2004, International Business Machines * Corporation and others. All Rights Reserved. * ******************************************************************************* @@ -22,10 +22,10 @@ /** * An enumeration object. * For usage in C programs. - * @draft ICU 2.2 + * @stable ICU 2.2 */ struct UEnumeration; -/** structure representing an enumeration object instance @draft ICU 2.2 */ +/** structure representing an enumeration object instance @stable ICU 2.2 */ typedef struct UEnumeration UEnumeration; /** @@ -33,9 +33,9 @@ typedef struct UEnumeration UEnumeration; * does nothing. After this call, any char* or UChar* pointer * returned by uenum_unext() or uenum_next() is invalid. * @param en UEnumeration structure pointer - * @draft ICU 2.2 + * @stable ICU 2.2 */ -U_CAPI void U_EXPORT2 +U_STABLE void U_EXPORT2 uenum_close(UEnumeration* en); /** @@ -50,9 +50,9 @@ uenum_close(UEnumeration* en); * @param status error code, can be U_ENUM_OUT_OF_SYNC_ERROR if the * iterator is out of sync. * @return number of elements in the iterator - * @draft ICU 2.2 + * @stable ICU 2.2 */ -U_CAPI int32_t U_EXPORT2 +U_STABLE int32_t U_EXPORT2 uenum_count(UEnumeration* en, UErrorCode* status); /** @@ -64,7 +64,7 @@ uenum_count(UEnumeration* en, UErrorCode* status); * The result is terminated by (UChar)0. * @param en the iterator object * @param resultLength pointer to receive the length of the result - * (not including the terminating \0). + * (not including the terminating \\0). * If the pointer is NULL it is ignored. * @param status the error code, set to U_ENUM_OUT_OF_SYNC_ERROR if * the iterator is out of sync with its service. @@ -74,9 +74,9 @@ uenum_count(UEnumeration* en, UErrorCode* status); * until the next call to any uenum_... method, including * uenum_next() or uenum_unext(). When all strings have been * traversed, returns NULL. - * @draft ICU 2.2 + * @stable ICU 2.2 */ -U_CAPI const UChar* U_EXPORT2 +U_STABLE const UChar* U_EXPORT2 uenum_unext(UEnumeration* en, int32_t* resultLength, UErrorCode* status); @@ -93,7 +93,7 @@ uenum_unext(UEnumeration* en, * (but non-NULL). * @param en the iterator object * @param resultLength pointer to receive the length of the result - * (not including the terminating \0). + * (not including the terminating \\0). * If the pointer is NULL it is ignored. * @param status the error code, set to U_ENUM_OUT_OF_SYNC_ERROR if * the iterator is out of sync with its service. Set to @@ -107,9 +107,9 @@ uenum_unext(UEnumeration* en, * until the next call to any uenum_... method, including * uenum_next() or uenum_unext(). When all strings have been * traversed, returns NULL. - * @draft ICU 2.2 + * @stable ICU 2.2 */ -U_CAPI const char* U_EXPORT2 +U_STABLE const char* U_EXPORT2 uenum_next(UEnumeration* en, int32_t* resultLength, UErrorCode* status); @@ -121,9 +121,9 @@ uenum_next(UEnumeration* en, * @param en the iterator object * @param status the error code, set to U_ENUM_OUT_OF_SYNC_ERROR if * the iterator is out of sync with its service. - * @draft ICU 2.2 + * @stable ICU 2.2 */ -U_CAPI void U_EXPORT2 +U_STABLE void U_EXPORT2 uenum_reset(UEnumeration* en, UErrorCode* status); #endif