eina: make __eina_promise_cancel_all an internal only function.

This commit is contained in:
Cedric BAIL 2017-12-18 16:17:04 -08:00
parent 29d4cb864b
commit 90f30ea418
4 changed files with 7 additions and 9 deletions

View File

@ -62,6 +62,8 @@
#include "ecore_main_common.h"
#include "eina_internal.h"
#ifdef USE_G_MAIN_LOOP
# include <glib.h>
#endif

View File

@ -6,6 +6,8 @@
#include "eina_promise.h"
#include "eina_mempool.h"
#include "eina_promise_private.h"
#include "eina_internal.h"
#include <errno.h>
#include <stdarg.h>
#include <assert.h>

View File

@ -1736,15 +1736,6 @@ eina_future_race_array(Eina_Future *array[])
*/
#define eina_future_chain_easy(_prev, ...) eina_future_chain_easy_array(_prev, (Eina_Future_Cb_Easy_Desc[]) {__VA_ARGS__, {NULL, NULL, NULL, NULL, NULL}})
/**
* @brief Cancels all pending promise/futures.
*
* Internal function. Do not use.
*
* @internal
*/
EAPI void __eina_promise_cancel_all(void);
/**
* @}
*/

View File

@ -3,6 +3,9 @@
#endif
#include <Eina.h>
#include "eina_internal.h"
#include "Eo.h"
// Efl.Future implementation is an opaque type in Ecore.