diff --git a/src/lib/eo/Eo.h b/src/lib/eo/Eo.h index 16617e9dfd..3757392ed2 100644 --- a/src/lib/eo/Eo.h +++ b/src/lib/eo/Eo.h @@ -221,16 +221,6 @@ typedef Eo Efl_Future; #include "efl_interface.eo.h" #define EO_CLASS EFL_OBJECT_CLASS -/** - * @struct _Efl_Event - * A parameter passed in event callbacks holding extra event parameters. - */ -typedef struct _Efl_Event { - Efl_Object *object; /**< The object the event was called on. */ - const Efl_Event_Description *desc; /**< The event description. */ - void *info; /**< Extra event information passed by the event caller. */ -} Efl_Event; - /** An event callback prototype. */ typedef void (*Efl_Event_Cb)(void *data, const Efl_Event *event); diff --git a/src/lib/eo/efl_object.eo b/src/lib/eo/efl_object.eo index 36174c8d2f..5e7e1c31ca 100644 --- a/src/lib/eo/efl_object.eo +++ b/src/lib/eo/efl_object.eo @@ -273,3 +273,13 @@ abstract Efl.Object () del @hot; [[Object is being deleted.]] } } + +struct Efl.Event { + [[A parameter passed in event callbacks holding extra event parameters. + + This is the full event information passed to callbacks in C. + ]] + object: Efl.Object; [[The object the callback was called on.]] + desc: const(ptr(Efl.Event.Description)); [[The event description.]] + info: void_ptr; [[Extra event information passed by the event caller]] +}