felipealmeida pushed a commit to branch master.

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

commit 61f52a26fb5a512e77d3141e398182107b1cf752
Author: Felipe Magno de Almeida <[email protected]>
Date:   Mon Jun 6 02:47:15 2016 -0300

    elm: Fix wrong use of char instead of string and void out parameter
---
 src/lib/elementary/elm_entry.c  | 2 +-
 src/lib/elementary/elm_entry.eo | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/lib/elementary/elm_entry.c b/src/lib/elementary/elm_entry.c
index 1134ee1..915c03b 100644
--- a/src/lib/elementary/elm_entry.c
+++ b/src/lib/elementary/elm_entry.c
@@ -4362,7 +4362,7 @@ _elm_entry_cursor_is_visible_format_get(Eo *obj 
EINA_UNUSED, Elm_Entry_Data *sd)
             (sd->entry_edje, "elm.text", EDJE_CURSOR_MAIN);
 }
 
-EOLIAN static char*
+EOLIAN static const char*
 _elm_entry_cursor_content_get(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd)
 {
    return edje_object_part_text_cursor_content_get
diff --git a/src/lib/elementary/elm_entry.eo b/src/lib/elementary/elm_entry.eo
index 69aabe5..f7ab96f 100644
--- a/src/lib/elementary/elm_entry.eo
+++ b/src/lib/elementary/elm_entry.eo
@@ -628,7 +628,7 @@ class Elm.Entry (Elm.Layout, Elm.Interface_Scrollable, 
Evas.Clickable_Interface,
               Only the text is returned, any format that may exist will not be 
part
               of the return value. You must free the string when done with 
\@ref free.
             ]]
-            return: own(char *) @warn_unused;
+            return: own(string) @warn_unused;
          }
       }
       @property selection {
@@ -803,7 +803,7 @@ class Elm.Entry (Elm.Layout, Elm.Interface_Scrollable, 
Evas.Clickable_Interface,
       input_panel_imdata_get @const {
          [[Get the specific data of the current input panel.]]
          params {
-            @out data: void; [[The specific data to be got from the input 
panel.]]
+            @in data: void_ptr; [[The specific data to be got from the input 
panel.]]
             @out len: int; [[The length of data.]]
          }
       }

-- 


Reply via email to