elm: Fix wrong use of char instead of string and void out parameter

This commit is contained in:
Felipe Magno de Almeida 2016-06-06 02:47:15 -03:00
parent 8b1fc67a12
commit 61f52a26fb
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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.]]
}
}