summaryrefslogtreecommitdiff
path: root/src/examples/eio/efl_io_manager_ls.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2018-04-30 10:06:47 -0700
committerCedric BAIL <cedric@osg.samsung.com>2018-05-01 10:39:01 -0700
commit6645743f79112d8c33283db6a475d82557c9e623 (patch)
tree17fca20a07a792676748162d34f31a2c7a712842 /src/examples/eio/efl_io_manager_ls.c
parent33fd77e9e43b0fa29cb484b72d910bdf0ecccbc8 (diff)
eio: update efl_io_manager_ls example.
Diffstat (limited to 'src/examples/eio/efl_io_manager_ls.c')
-rw-r--r--src/examples/eio/efl_io_manager_ls.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/examples/eio/efl_io_manager_ls.c b/src/examples/eio/efl_io_manager_ls.c
index 65d5511026..fd79032803 100644
--- a/src/examples/eio/efl_io_manager_ls.c
+++ b/src/examples/eio/efl_io_manager_ls.c
@@ -39,12 +39,13 @@ done_cb(void *data EINA_UNUSED,
39 39
40// Progress used to be the "Eio_Main_Cb" family of callbacks in the legacy API. 40// Progress used to be the "Eio_Main_Cb" family of callbacks in the legacy API.
41static void 41static void
42progress_cb(void *data EINA_UNUSED, Eina_Accessor *access) 42progress_cb(void *data EINA_UNUSED, Eina_Array *array)
43{ 43{
44 Eina_Array_Iterator it;
44 const char *filename; 45 const char *filename;
45 unsigned int count; 46 unsigned int count;
46 47
47 EINA_ACCESSOR_FOREACH(access, count, filename) 48 EINA_ARRAY_ITER_NEXT(array, count, filename, it)
48 printf("%s listing filename: %s\n", __FUNCTION__, filename); 49 printf("%s listing filename: %s\n", __FUNCTION__, filename);
49} 50}
50 51