ICU-9534 ucol_nextSortKeyPart(): do not promise uncompressed sort keys

X-SVN-Rev: 32409
This commit is contained in:
Markus Scherer 2012-09-19 23:55:58 +00:00
parent 44d515a063
commit d36fce9bed

View file

@ -943,10 +943,10 @@ ucol_getSortKey(const UCollator *coll,
* to preserve state array between calls and to provide
* the same type of UCharIterator set with the same string.
* The destination buffer provided must be big enough to store
* the number of requested bytes. Generated sortkey is not
* compatible with sortkeys generated using ucol_getSortKey
* API, since we don't do any compression. If uncompressed
* sortkeys are required, this API can be used.
* the number of requested bytes.
*
* The generated sort key may or may not be compatible with
* sort keys generated using ucol_getSortKey().
* @param coll The UCollator containing the collation rules.
* @param iter UCharIterator containing the string we need
* the sort key to be calculated for.