mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 17:01:16 +00:00
ICU-20121 Changing C API method name to ulistfmt_formatStringsToResult.
This commit is contained in:
parent
37e589fb3a
commit
78ac6ca3dc
3 changed files with 4 additions and 4 deletions
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue