cxx bindings: get rid of Eo_Event2
authorStefan Schmidt <stefan@osg.samsung.com>
Mon, 7 Mar 2016 13:18:56 +0000 (14:18 +0100)
committerStefan Schmidt <stefan@osg.samsung.com>
Mon, 7 Mar 2016 13:18:56 +0000 (14:18 +0100)
This follows the change in EO and fixes some build breaks.

src/bindings/eo_cxx/eo_cxx_interop.hh
src/bindings/eo_cxx/eo_event.hh

index b1978a8..cbfa1a2 100644 (file)
@@ -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;
index 5fa6404..fbc3bf6 100644 (file)
@@ -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);