eio: share _efl_io_manager_future_cancel with all of eio.

This commit is contained in:
Cedric BAIL 2017-12-20 16:23:18 -08:00
parent afb18198bb
commit 44dceade11
2 changed files with 6 additions and 6 deletions

View File

@ -51,12 +51,6 @@ struct _Job_Closure
};
/* Helper functions */
static void
_efl_io_manager_future_cancel(void *data, const Eina_Promise *dead_ptr EINA_UNUSED)
{
eio_file_cancel(data);
}
static void
_future_file_done_cb(void *data, Eio_File *handler)
{

View File

@ -545,6 +545,12 @@ Eio_File * _eio_file_xattr(const char *path,
void _eio_string_notify(void *data, Ecore_Thread *thread EINA_UNUSED, void *msg_data);
void _eio_direct_notify(void *data, Ecore_Thread *thread EINA_UNUSED, void *msg_data);
static inline void
_efl_io_manager_future_cancel(void *data, const Eina_Promise *dead_ptr EINA_UNUSED)
{
eio_file_cancel(data);
}
EINA_VALUE_STRUCT_DESC_DEFINE(_eina_stat_desc,
NULL,
sizeof (Eina_Stat),