From 781391999eab7b7faddee27086ce24bc09e53692 Mon Sep 17 00:00:00 2001 From: Markus Scherer Date: Tue, 3 May 2011 23:59:31 +0000 Subject: [PATCH] ICU-8173 fix the Normalizer2::getDecomposition(c) docs X-SVN-Rev: 30003 --- icu4c/source/common/unicode/normalizer2.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/icu4c/source/common/unicode/normalizer2.h b/icu4c/source/common/unicode/normalizer2.h index f448cc45c1..98058dc3ea 100644 --- a/icu4c/source/common/unicode/normalizer2.h +++ b/icu4c/source/common/unicode/normalizer2.h @@ -1,7 +1,7 @@ /* ******************************************************************************* * -* Copyright (C) 2009-2010, International Business Machines +* Copyright (C) 2009-2011, International Business Machines * Corporation and others. All Rights Reserved. * ******************************************************************************* @@ -175,8 +175,11 @@ public: UErrorCode &errorCode) const = 0; /** - * Gets the decomposition mapping of c. Equivalent to normalize(UnicodeString(c)) - * on a UNORM2_DECOMPOSE Normalizer2 instance, but much faster. + * Gets the decomposition mapping of c. + * Roughly equivalent to normalizing the String form of c + * on a UNORM2_DECOMPOSE Normalizer2 instance, but much faster, and except that this function + * returns FALSE and does not write a string + * if c does not have a decomposition mapping in this instance's data. * This function is independent of the mode of the Normalizer2. * @param c code point * @param decomposition String object which will be set to c's