felipealmeida pushed a commit to branch master.

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

commit 8b1fc67a1285438efdf9caf4645e44ae38bfc7d1
Author: Felipe Magno de Almeida <[email protected]>
Date:   Mon Jun 6 02:46:39 2016 -0300

    edje: Fix wrongful uses of char instead of string in Eolian
---
 src/lib/edje/edje_object.eo | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

diff --git a/src/lib/edje/edje_object.eo b/src/lib/edje/edje_object.eo
index df0e093..a348b30 100644
--- a/src/lib/edje/edje_object.eo
+++ b/src/lib/edje/edje_object.eo
@@ -430,7 +430,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, 
Efl.Container, Efl.Part)
                                              from #Edje_External_Param_Type on 
success.]]
          params {
             @in part: string; [[The part name]]
-            @out param: const(char); [[the parameter name to use.]]
+            @in param: string; [[the parameter name to use.]]
          }
       }
       part_text_select_allow_set @const {
@@ -830,7 +830,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, 
Efl.Container, Efl.Part)
 
            You must free the return (if not $null) after you are done with 
it.]]
 
-         return: char *; [[The character string pointed to (may be a 
multi-byte utf8 sequence) terminated by a nul byte.]]
+         return: string; [[The character string pointed to (may be a 
multi-byte utf8 sequence) terminated by a nul byte.]]
          params {
             @in part: string; [[The part name]]
             @in cur: Edje.Cursor; [[The cursor to use]]
@@ -904,15 +904,18 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, 
Efl.Container, Efl.Part)
             @in part: string; [[The part name]]
          }
       }
-      part_external_content_get @const {
+      @property part_external_content {
          [[Get an object contained in an part of type EXTERNAL
 
            The content string must not be $null. Its actual value depends on 
the
            code providing the EXTERNAL.]]
-         return: Evas.Object;
-         params {
-            @in part: string; [[The name of the part holding the EXTERNAL]]
-            @out content: const(char); [[A string identifying which content 
from the EXTERNAL to get]]
+         get {}
+         keys {
+            part: string; [[The name of the part holding the EXTERNAL]]
+            content: string; [[A string identifying which content from the 
EXTERNAL to get]]
+         }
+         values {
+            v: Evas.Object;
          }
       }
       preload {

-- 


Reply via email to