elementary: Modify parameter from @out void to @inout void
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>
Fri, 17 Jun 2016 00:49:28 +0000 (21:49 -0300)
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>
Fri, 17 Jun 2016 00:49:28 +0000 (21:49 -0300)
@out parameters doesn't need initialization, so passing a buffer
to a function must be a @in void_ptr or a @inout void, but
never an @out void.

src/lib/elementary/efl_ui_text.eo

index acff287..c02aeae 100644 (file)
@@ -325,7 +325,7 @@ class Efl.Ui.Text (Elm.Layout, Elm.Interface_Scrollable, Efl.Ui.Clickable,
       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.]]
+            @inout data: void; [[The specific data to be got from the input panel.]]
             @out len: int; [[The length of data.]]
          }
       }