mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-10 13:29:58 -05:00
Rename functions with "tostring" in the name to one with "to_string" to conform with the convention.
component: core <EP-E358F00C1D9A449EAE69225B9D2530F8> BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=88833 Signed-off-by: Deepak Srivastava <srivastava.d@samsung.com>
This commit is contained in:
parent
bb88d90950
commit
2d5eec2d2c
24 changed files with 46 additions and 46 deletions
|
|
@ -70,7 +70,7 @@ static void dump(pa_memblockq *bq, int n) {
|
|||
buf = pa_strbuf_new();
|
||||
dump_chunk(&out, buf);
|
||||
pa_memblock_unref(out.memblock);
|
||||
str = pa_strbuf_tostring_free(buf);
|
||||
str = pa_strbuf_to_string_free(buf);
|
||||
fail_unless(pa_streq(str, fixed[n]));
|
||||
pa_xfree(str);
|
||||
fprintf(stderr, "<\n");
|
||||
|
|
@ -87,7 +87,7 @@ static void dump(pa_memblockq *bq, int n) {
|
|||
pa_memblock_unref(out.memblock);
|
||||
pa_memblockq_drop(bq, out.length);
|
||||
}
|
||||
str = pa_strbuf_tostring_free(buf);
|
||||
str = pa_strbuf_to_string_free(buf);
|
||||
fail_unless(pa_streq(str, manual[n]));
|
||||
pa_xfree(str);
|
||||
fprintf(stderr, "<\n");
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ START_TEST (strlist_test) {
|
|||
l = pa_strlist_prepend(l, "b");
|
||||
l = pa_strlist_prepend(l, "a");
|
||||
|
||||
t = pa_strlist_tostring(l);
|
||||
t = pa_strlist_to_string(l);
|
||||
pa_strlist_free(l);
|
||||
|
||||
fprintf(stderr, "1: %s\n", t);
|
||||
|
|
@ -29,7 +29,7 @@ START_TEST (strlist_test) {
|
|||
l = pa_strlist_parse(t);
|
||||
pa_xfree(t);
|
||||
|
||||
t = pa_strlist_tostring(l);
|
||||
t = pa_strlist_to_string(l);
|
||||
fprintf(stderr, "2: %s\n", t);
|
||||
fail_unless(pa_streq(t, "a b c d e"));
|
||||
pa_xfree(t);
|
||||
|
|
@ -41,7 +41,7 @@ START_TEST (strlist_test) {
|
|||
|
||||
l = pa_strlist_remove(l, "c");
|
||||
|
||||
t = pa_strlist_tostring(l);
|
||||
t = pa_strlist_to_string(l);
|
||||
fprintf(stderr, "4: %s\n", t);
|
||||
fail_unless(pa_streq(t, "b d e"));
|
||||
pa_xfree(t);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue