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:
Srivardhan Hebbar 2015-10-21 14:04:46 -07:00 committed by Cedric BAIL
parent a356c4e3e8
commit 02d78670d4
1 changed files with 5 additions and 2 deletions

View File

@ -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);