ICU-20121 Changing C API method name to ulistfmt_formatStringsToResult.

This commit is contained in:
Shane F. Carr 2019-02-07 16:25:16 -08:00
parent 37e589fb3a
commit 78ac6ca3dc
3 changed files with 4 additions and 4 deletions

View file

@ -119,7 +119,7 @@ ulistfmt_format(const UListFormatter* listfmt,
U_CAPI void U_EXPORT2
ulistfmt_formatStringsToValue(
ulistfmt_formatStringsToResult(
const UListFormatter* listfmt,
const UChar* const strings[],
const int32_t * stringLengths,

View file

@ -228,7 +228,7 @@ ulistfmt_format(const UListFormatter* listfmt,
* Error code set if an error occurred during formatting.
*/
U_CAPI void U_EXPORT2
ulistfmt_formatStringsToValue(
ulistfmt_formatStringsToResult(
const UListFormatter* listfmt,
const UChar* const strings[],
const int32_t * stringLengths,

View file

@ -143,7 +143,7 @@ static void TestUListFmtToValue() {
u"wonderful",
u"world"
};
ulistfmt_formatStringsToValue(fmt, inputs, NULL, UPRV_LENGTHOF(inputs), fl, &ec);
ulistfmt_formatStringsToResult(fmt, inputs, NULL, UPRV_LENGTHOF(inputs), fl, &ec);
assertSuccess("Formatting", &ec);
static const UFieldPositionWithCategory expectedFieldPositions[] = {
// field, begin index, end index
@ -171,7 +171,7 @@ static void TestUListFmtToValue() {
u"F",
u"G"
};
ulistfmt_formatStringsToValue(fmt, inputs, NULL, UPRV_LENGTHOF(inputs), fl, &ec);
ulistfmt_formatStringsToResult(fmt, inputs, NULL, UPRV_LENGTHOF(inputs), fl, &ec);
assertSuccess("Formatting", &ec);
static const UFieldPositionWithCategory expectedFieldPositions[] = {
// field, begin index, end index