summaryrefslogtreecommitdiff
path: root/src/lib/eio
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2016-09-08 14:51:13 -0700
committerCedric BAIL <cedric@osg.samsung.com>2016-09-08 15:16:43 -0700
commitbd362b13d656e779f4851d57257bf04883b34ba8 (patch)
tree5c4108e046e6e045d099328a3c13755e84cba017 /src/lib/eio
parent0c067fb62f58ae789722729c809bee9237aba315 (diff)
efl: add documentation and last cleanup of the API.
Diffstat (limited to 'src/lib/eio')
-rw-r--r--src/lib/eio/efl_io_manager.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/eio/efl_io_manager.c b/src/lib/eio/efl_io_manager.c
index fba276cf9a..1d6d3fbdb2 100644
--- a/src/lib/eio/efl_io_manager.c
+++ b/src/lib/eio/efl_io_manager.c
@@ -111,7 +111,7 @@ _file_error_cb(void *data, Eio_File *handler, int error)
111 111
112 efl_event_callback_array_del(p, promise_handling(), handler); 112 efl_event_callback_array_del(p, promise_handling(), handler);
113 113
114 efl_promise_failed(p, error); 114 efl_promise_failed_set(p, error);
115 115
116 efl_del(p); 116 efl_del(p);
117} 117}
@@ -126,7 +126,7 @@ _file_done_cb(void *data, Eio_File *handler)
126 126
127 if (!v) 127 if (!v)
128 { 128 {
129 efl_promise_failed(p, ENOMEM); 129 efl_promise_failed_set(p, ENOMEM);
130 goto end; 130 goto end;
131 } 131 }
132 132
@@ -365,7 +365,7 @@ _file_stat_done_cb(void *data, Eio_File *handle EINA_UNUSED, const Eina_Stat *st
365 c = calloc(1, sizeof (Eina_Stat)); 365 c = calloc(1, sizeof (Eina_Stat));
366 if (!c) 366 if (!c)
367 { 367 {
368 efl_promise_failed(p, ENOMEM); 368 efl_promise_failed_set(p, ENOMEM);
369 goto end; 369 goto end;
370 } 370 }
371 371