From 780e71dad7cfb45405e86888c7d4e834e7c55309 Mon Sep 17 00:00:00 2001 From: Ram Viswanadha Date: Fri, 21 Sep 2001 23:12:59 +0000 Subject: [PATCH] ICU-1031 Put back deprecated enums that were deprecated. X-SVN-Rev: 5882 --- icu4c/source/common/unicode/utypes.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/icu4c/source/common/unicode/utypes.h b/icu4c/source/common/unicode/utypes.h index 08d190bfef4..39b3e1e22f0 100644 --- a/icu4c/source/common/unicode/utypes.h +++ b/icu4c/source/common/unicode/utypes.h @@ -362,7 +362,10 @@ enum UErrorCode { /** @deprecated use the enum that ends in _WARNING */ U_USING_FALLBACK_ERROR = -128, /**< A resource bundle lookup returned a fallback result (not an error) */ - U_ERROR_WARNING_START = -128, /**< Start of information results (semantically successful) */ + U_ERROR_WARNING_START = -128, /**< Start of information results (semantically successful) */ + + /** @deprecated use the enum that ends in _WARNING */ + U_ERROR_INFO_START = U_ERROR_WARNING_START, /**< Start of information results (semantically successful) */ U_USING_DEFAULT_WARNING = -127, /**< A resource bundle lookup returned a result from the root locale (not an error) */ /** @deprecated use the enum that ends in _WARNING */ @@ -377,6 +380,9 @@ enum UErrorCode { U_STRING_NOT_TERMINATED_WARNING = -124,/**< An output string could not be NUL-terminated because output length==destCapacity. */ U_ERROR_WARNING_LIMIT, /**< This must always be the last warning value to indicate the limit for UErrorCode warnings (last warning code +1) */ + + /** @deprecated use the enum that ends in _WARNING */ + U_ERROR_INFO_LIMIT = U_ERROR_WARNING_LIMIT, /**< This must always be the last warning value to indicate the limit for UErrorCode warnings (last warning code +1) */ U_ZERO_ERROR = 0, /**< No error, no warning. */