js: Switch to Efl_Event
authorJean-Philippe Andre <jp.andre@samsung.com>
Wed, 31 Aug 2016 08:08:00 +0000 (17:08 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Thu, 1 Sep 2016 02:57:43 +0000 (11:57 +0900)
I haven't tested the compilation... but I guess this can't hurt.

src/bindings/js/eo_js/eo_js_event.hh

index 617df60..283b018 100644 (file)
@@ -17,8 +17,8 @@ namespace efl { namespace eo { namespace js {
 struct event_information
 {
   eina::js::global_ref<v8::Function>* constructor;
-  Eo_Event_Description const* event;
-  Eo_Event_Cb event_callback;
+  Efl_Event_Description const* event;
+  Efl_Event_Cb event_callback;
   const char* class_name;
 };
 
@@ -54,7 +54,7 @@ inline v8::Local<v8::Value> get_event_info<void>(void*, v8::Isolate* isolate, co
 }
 
 template <typename T>
-inline Eina_Bool event_callback(void* data, Eo_Event const* eo_event)
+inline Eina_Bool event_callback(void* data, Efl_Event const* eo_event)
 {
   v8::Isolate* isolate = v8::Isolate::GetCurrent();
   v8::HandleScope handle_scope(isolate);