diff options
author | Cedric BAIL <cedric.bail@samsung.com> | 2013-03-26 11:48:23 +0900 |
---|---|---|
committer | Cedric BAIL <cedric.bail@samsung.com> | 2013-03-26 11:59:27 +0900 |
commit | d583d08814f7809eb69e2d89c14e31f7ca6fb0de (patch) | |
tree | 0241530fd78306a6097b9f693c744df690497ebf /src/lib/evas/Evas.h | |
parent | 284e6c963d592fc193760fc4c43cf8e1ea67baaa (diff) | |
download | efl-d583d08814f7809eb69e2d89c14e31f7ca6fb0de.tar.gz |
evas: no need for a callback per async call.
Let's not multiply our callback infrastructure without any serious need. We
already have to many of them.
Diffstat (limited to 'src/lib/evas/Evas.h')
-rw-r--r-- | src/lib/evas/Evas.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/evas/Evas.h b/src/lib/evas/Evas.h index fe8ee81648..e6ce153e4e 100644 --- a/src/lib/evas/Evas.h +++ b/src/lib/evas/Evas.h @@ -1684,7 +1684,7 @@ EAPI void evas_obscured_clear(Evas *e) EINA_ARG_NONNULL(1); * @ingroup Evas_Canvas * @since 1.8 */ -EAPI Eina_Bool evas_render_async(Evas *e, Evas_Event_Cb func, void *data) EINA_ARG_NONNULL(1); +EAPI Eina_Bool evas_render_async(Evas *e) EINA_ARG_NONNULL(1); /** * Force immediate renderization of the given Evas canvas. @@ -3715,13 +3715,11 @@ enum * * Render canvas asynchronously * - * @param[in] func Callback function for list of updates - * @param[in] data User data pointer to pass to func * @param[out] ret Whether or not a frame will get rendered after the call * * @see evas_render_async */ -#define evas_canvas_render_async(func, data, ret) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_RENDER_ASYNC), EO_TYPECHECK(Evas_Event_Cb, func), EO_TYPECHECK(void *, data), EO_TYPECHECK(Eina_Bool *, ret) +#define evas_canvas_render_async(ret) EVAS_CANVAS_ID(EVAS_CANVAS_SUB_ID_RENDER_ASYNC), EO_TYPECHECK(Eina_Bool *, ret) |