]> granicus.if.org Git - icu/commitdiff
ICU-12960 ubrk_open, clarify that NULL is allowed for text in ubrk_open()
authorAndy Heninger <andy.heninger@gmail.com>
Thu, 21 Sep 2017 22:10:48 +0000 (22:10 +0000)
committerAndy Heninger <andy.heninger@gmail.com>
Thu, 21 Sep 2017 22:10:48 +0000 (22:10 +0000)
X-SVN-Rev: 40443

icu4c/source/common/unicode/ubrk.h

index 22a4b99cd6dd2bab1319aac951022d7296031de7..600328c49c66bc1934b0f1e41b4f826fea2f5a83 100644 (file)
@@ -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.