From d61a952e0ca0e12249eed6124ddcb99e7dc2e184 Mon Sep 17 00:00:00 2001 From: Andy Heninger Date: Mon, 24 Oct 2005 22:19:40 +0000 Subject: [PATCH] ICU-4639 make ucsdet_detect() return a const object. X-SVN-Rev: 18708 --- icu4c/source/i18n/unicode/ucsdet.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/icu4c/source/i18n/unicode/ucsdet.h b/icu4c/source/i18n/unicode/ucsdet.h index f4c7b058729..bdd03113661 100644 --- a/icu4c/source/i18n/unicode/ucsdet.h +++ b/icu4c/source/i18n/unicode/ucsdet.h @@ -128,7 +128,7 @@ ucsdet_setDeclaredEncoding(UCharsetDetector *csd, const char *encoding, int32_t * * @draft ICU 3.6 */ -U_DRAFT UCharsetMatch * U_EXPORT2 +U_DRAFT const UCharsetMatch * U_EXPORT2 ucsdet_detect(UCharsetDetector *csd, UErrorCode *status); @@ -162,7 +162,7 @@ ucsdet_detect(UCharsetDetector *csd, UErrorCode *status); * the detector is closed or modified. * @draft ICU 3.4 */ -U_DRAFT UCharsetMatch ** U_EXPORT2 +U_DRAFT const UCharsetMatch ** U_EXPORT2 ucsdet_detectAll(UCharsetDetector *csd, int32_t *matchesFound, UErrorCode *status);