From: Andy Heninger Date: Thu, 21 Sep 2017 22:10:48 +0000 (+0000) Subject: ICU-12960 ubrk_open, clarify that NULL is allowed for text in ubrk_open() X-Git-Tag: release-60-rc~122 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8975d923fe290f88f130eb640d2096abe07015d7;p=icu ICU-12960 ubrk_open, clarify that NULL is allowed for text in ubrk_open() X-SVN-Rev: 40443 --- diff --git a/icu4c/source/common/unicode/ubrk.h b/icu4c/source/common/unicode/ubrk.h index 22a4b99cd6d..600328c49c6 100644 --- a/icu4c/source/common/unicode/ubrk.h +++ b/icu4c/source/common/unicode/ubrk.h @@ -230,7 +230,8 @@ typedef enum USentenceBreakTag { * @param locale The locale specifying the text-breaking conventions. Note that * locale keys such as "lb" and "ss" may be used to modify text break behavior, * see general discussion of BreakIterator C API. - * @param text The text to be iterated over. + * @param text The text to be iterated over. May be null, in which case ubrk_setText() is + * used to specify the text to be iterated. * @param textLength The number of characters in text, or -1 if null-terminated. * @param status A UErrorCode to receive any errors. * @return A UBreakIterator for the specified locale.