forked from enlightenment/efl
cxx bindings: get rid of Eo_Event2
This follows the change in EO and fixes some build breaks.
This commit is contained in:
parent
fbffc7d1bd
commit
c634239b63
|
@ -438,7 +438,7 @@ C get_callback()
|
|||
}
|
||||
|
||||
template <typename F>
|
||||
Eina_Bool free_callback_callback(void* data, ::Eo_Event2 const*)
|
||||
Eina_Bool free_callback_callback(void* data, ::Eo_Event const*)
|
||||
{
|
||||
delete static_cast<F*>(data);
|
||||
return EO_CALLBACK_CONTINUE;
|
||||
|
|
|
@ -137,7 +137,7 @@ Eina_Bool really_call_event(T& wrapper, F& f, Eo_Event_Description const& desc,
|
|||
|
||||
template <typename T, typename F>
|
||||
Eina_Bool
|
||||
event_callback(void *data, ::Eo_Event2 const* event)
|
||||
event_callback(void *data, ::Eo_Event const* event)
|
||||
{
|
||||
T wrapper(::eo_ref(event->obj));
|
||||
F *f = static_cast<F*>(data);
|
||||
|
|
Loading…
Reference in New Issue