X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/b75a7d8f3b4adbae880cab104ce2c6a50eee4db2..a01113dcd0f39d5da295ef82785beff9ed86fe38:/icuSources/common/uenumimp.h?ds=sidebyside diff --git a/icuSources/common/uenumimp.h b/icuSources/common/uenumimp.h index 2c5cc3ac..9c9df75a 100644 --- a/icuSources/common/uenumimp.h +++ b/icuSources/common/uenumimp.h @@ -1,12 +1,14 @@ +// © 2016 and later: Unicode, Inc. and others. +// License & terms of use: http://www.unicode.org/copyright.html /* ******************************************************************************* * -* Copyright (C) 2002, International Business Machines +* Copyright (C) 2002-2006, International Business Machines * Corporation and others. All Rights Reserved. * ******************************************************************************* * file name: uenumimp.h -* encoding: US-ASCII +* encoding: UTF-8 * tab size: 8 (not used) * indentation:2 * @@ -58,13 +60,14 @@ UEnumCount(UEnumeration *en, UErrorCode *status); /** * Function type declaration for uenum_unext(). * - * This function should return the next element - * as a UChar * + * This function returns the next element as a UChar *, + * or NULL after all elements haven been enumerated. * * @param en enumeration * @param resultLength pointer to result length * @param status pointer to UErrorCode variable - * @return next element as UChar * + * @return next element as UChar *, + * or NULL after all elements haven been enumerated */ typedef const UChar* U_CALLCONV UEnumUNext(UEnumeration* en, @@ -74,13 +77,14 @@ UEnumUNext(UEnumeration* en, /** * Function type declaration for uenum_next(). * - * This function should return the next element - * as a char * + * This function returns the next element as a char *, + * or NULL after all elements haven been enumerated. * * @param en enumeration * @param resultLength pointer to result length * @param status pointer to UErrorCode variable - * @return next element as char * + * @return next element as char *, + * or NULL after all elements haven been enumerated */ typedef const char* U_CALLCONV UEnumNext(UEnumeration* en,