forked from enlightenment/efl
eina: updated example to add eina_strbuf_tolower.
Summary: Depends on D3200 Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com> Reviewers: cedric Reviewed By: cedric Differential Revision: https://phab.enlightenment.org/D3205 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
parent
a356c4e3e8
commit
02d78670d4
|
@ -12,8 +12,11 @@ int main(int argc EINA_UNUSED, char **argv EINA_UNUSED)
|
|||
|
||||
buf = eina_strbuf_new();
|
||||
|
||||
eina_strbuf_append_length(buf, "buffe", 5);
|
||||
eina_strbuf_append_char(buf, 'r');
|
||||
eina_strbuf_append_length(buf, "BUFFE", 5);
|
||||
eina_strbuf_append_char(buf, 'R');
|
||||
printf("%s\n", eina_strbuf_string_get(buf));
|
||||
|
||||
eina_strbuf_tolower(buf);
|
||||
printf("%s\n", eina_strbuf_string_get(buf));
|
||||
|
||||
eina_strbuf_insert_escaped(buf, "my ", 0);
|
||||
|
|
Loading…
Reference in New Issue