ecore: fix future -> promise doc
This commit is contained in:
parent
e6d53d1e67
commit
76d8ff590a
|
@ -71,7 +71,7 @@ EAPI int efl_loop_exit_code_process(Eina_Value *value);
|
|||
EAPI Eina_Future_Scheduler *efl_loop_future_scheduler_get(const Eo *obj);
|
||||
|
||||
/**
|
||||
* @brief Create a future attached to the current loop
|
||||
* @brief Create a promise attached to the current loop
|
||||
*
|
||||
* @param[in] An object which will provide a loop, either by being a loop or a loop consumer
|
||||
* @param cancel_cb A callback used to inform that the promise was canceled. Use
|
||||
|
@ -84,7 +84,7 @@ EAPI Eina_Future_Scheduler *efl_loop_future_scheduler_get(const Eo *obj);
|
|||
EAPI Eina_Promise *efl_loop_promise_new(const Eo *obj, Eina_Promise_Cancel_Cb cancel_cb, const void *data);
|
||||
|
||||
/**
|
||||
* @brief Create a future attached to the main loop
|
||||
* @brief Create a promise attached to the main loop
|
||||
*
|
||||
* @param cancel_cb A callback used to inform that the promise was canceled. Use
|
||||
* this callback to @c free @p data. @p cancel_cb must not be @c NULL !
|
||||
|
|
Loading…
Reference in New Issue