From f9a47b18488518b49f81e5581fa7469095a8314c Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Mon, 7 Mar 2016 10:34:52 +0000 Subject: [PATCH] Eo event cb: Update documentation. --- src/lib/eo/Eo.h | 2 +- src/lib/eo/eo_base.eo | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/eo/Eo.h b/src/lib/eo/Eo.h index a163e2a..cf10bb3 100644 --- a/src/lib/eo/Eo.h +++ b/src/lib/eo/Eo.h @@ -153,7 +153,7 @@ enum _Eo_Op_Type */ typedef enum _Eo_Op_Type Eo_Op_Type; -/** XXX: Hack until fixed in Eolian */ +/** This has to be duplicated here because Eolian doesn't support event callbacks. */ typedef struct _Eo_Event Eo_Event; /** * @typedef Eo_Event_Cb diff --git a/src/lib/eo/eo_base.eo b/src/lib/eo/eo_base.eo index 2dfd6ab..8a31a35 100644 --- a/src/lib/eo/eo_base.eo +++ b/src/lib/eo/eo_base.eo @@ -1,6 +1,6 @@ import eina_types; -/* XXX: Hack until Eolian is ready. */ +/* Event callbacks are a special case and have to be external as eolian doesn't support function pointers. */ type @extern Eo.Event_Cb: __builtin_event_cb; struct Eo.Event_Description { -- 2.7.4