xartigas pushed a commit to branch master.

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

commit b22594a10bc55c1083d15354a956bb8d84f18052
Author: Lauro Moura <[email protected]>
Date:   Fri Nov 22 15:43:22 2019 +0100

    text: Fix struct definition
    
    Summary:
    Efl_Text_Cursor_Handle was being declared twice, confusing the C#
    generator. This commits updates it to be singly defined in the
    text_types eot file.
    
    Reviewers: segfaultxavi, ali.alzyod
    
    Reviewed By: segfaultxavi
    
    Subscribers: cedric, #reviewers, #committers
    
    Tags: #efl
    
    Differential Revision: https://phab.enlightenment.org/D10726
---
 src/lib/efl/interfaces/efl_text_types.eot | 3 +--
 src/lib/evas/canvas/efl_text_cursor.eo    | 4 +---
 2 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/lib/efl/interfaces/efl_text_types.eot 
b/src/lib/efl/interfaces/efl_text_types.eot
index d8d2ce3a52..64eb39329e 100644
--- a/src/lib/efl/interfaces/efl_text_types.eot
+++ b/src/lib/efl/interfaces/efl_text_types.eot
@@ -24,5 +24,4 @@ struct @beta Efl.Ui.Text_Change_Info {
 
 type @extern @beta Efl.Text_Annotate_Annotation: __undefined_type; [[EFL text 
annotations data structure]]
 
-type @extern @beta Efl.Text_Cursor_Handle: __undefined_type; [[Text cursor 
data structure]]
-
+struct @beta Efl.Text_Cursor_Handle; [[Opaque handle for Text cursors.]]
diff --git a/src/lib/evas/canvas/efl_text_cursor.eo 
b/src/lib/evas/canvas/efl_text_cursor.eo
index 47786b7f2e..0485eb9e06 100644
--- a/src/lib/evas/canvas/efl_text_cursor.eo
+++ b/src/lib/evas/canvas/efl_text_cursor.eo
@@ -1,5 +1,3 @@
-struct @beta Efl_Text_Cursor_Handle; [[Opaque handle for Text cursors.]]
-
 enum @beta Efl.Text.Cursor_Type
 {
    [[Text cursor types.]]
@@ -226,7 +224,7 @@ class @beta Efl.Text.Cursor extends Efl.Object implements 
Efl.Duplicate{
          set {  }
          get {  }
          values {
-            handle: Efl_Text_Cursor_Handle @by_ref; [[The handle of the cursor 
object.]]
+            handle: Efl.Text_Cursor_Handle @by_ref; [[The handle of the cursor 
object.]]
          }
       }
 

-- 


Reply via email to