q66 pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=d964a04da1ee654d9829c1b92dbb1ebb1d5738d7

commit d964a04da1ee654d9829c1b92dbb1ebb1d5738d7
Author: Daniel Kolesa <d.kol...@samsung.com>
Date:   Fri Jul 26 13:02:00 2019 +0200

    eo: remove Efl_Event definition (replace with builtin)
---
 src/lib/ecore/efl_threadio.eo       |  4 ++--
 src/lib/elementary/efl_ui_widget.eo |  2 +-
 src/lib/eo/efl_object.eo            | 14 --------------
 3 files changed, 3 insertions(+), 17 deletions(-)

diff --git a/src/lib/ecore/efl_threadio.eo b/src/lib/ecore/efl_threadio.eo
index 2049ad86d6..14f6507c24 100644
--- a/src/lib/ecore/efl_threadio.eo
+++ b/src/lib/ecore/efl_threadio.eo
@@ -3,14 +3,14 @@ import efl_object;
 function @beta EFlThreadIOCall {
    [[ A Function to call on the "other end" of a thread obvject ]]
    params {
-      @cref event: Efl.Event; [[ ]]
+      @in event: const(event); [[ ]]
    }
 };
 
 function @beta EFlThreadIOCallSync {
    [[ A Function to call on the "other end" of a thread obvject ]]
    params {
-      @cref event: Efl.Event; [[ ]]
+      @in event: const(event); [[ ]]
    }
    return: void_ptr; [[ ]]
 };
diff --git a/src/lib/elementary/efl_ui_widget.eo 
b/src/lib/elementary/efl_ui_widget.eo
index 1c2f85abf9..ea5435848c 100644
--- a/src/lib/elementary/efl_ui_widget.eo
+++ b/src/lib/elementary/efl_ui_widget.eo
@@ -174,7 +174,7 @@ abstract Efl.Ui.Widget extends Efl.Canvas.Group implements 
Efl.Access.Object,
            makes sure other widgets will not also process this input event.
          ]]
          params {
-            @cref eo_event: Efl.Event;
+            @in eo_event: const(event);
                [[EO event struct with an Efl.Input.Event as info.]]
             @in source: Efl.Canvas.Object;
                [[Source object where the event originated. Often same as 
this.]]
diff --git a/src/lib/eo/efl_object.eo b/src/lib/eo/efl_object.eo
index 0b3c403a20..2548f9d6f3 100644
--- a/src/lib/eo/efl_object.eo
+++ b/src/lib/eo/efl_object.eo
@@ -437,17 +437,3 @@ abstract Efl.Object
          reference you keep to the object.]]
    }
 }
-
-struct @extern 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.
-      Must be cast to the event type declared in the EO file. Keep in mind 
that:
-      1) Objects are passed as a normal Eo*. Event subscribers can call 
functions on these objects.
-      2) Structs, built-in types and containers are passed as const pointers, 
with one level of indirection.
-    ]]
-}

-- 


Reply via email to