summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2018-01-18 10:12:16 -0200
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2018-01-18 10:12:16 -0200
commit62e30f3c88b075122590c04b18b78ba42bd632c2 (patch)
tree8479c0ead74de08e7e0c175d6939128750a801ad
parent1440ff4c9be3a01f889b78cb0713e65252153f59 (diff)
downloadefl-devs/felipealmeida/rewrite-js.tar.gz
elm: Fix @out tag for void type where it is actually @in for a bufferdevs/felipealmeida/rewrite-js
In: input_panel_imdata_get @const { [[Get the specific data of the current input panel.]] params { @out data: void; [[The buffer where to write specific data to be got from the input panel.]] @out len: int; [[The length of data.]] } } Even though it is a get operation, the data parameter is not a @out parameter for void type (which doesn't exist), but actually a @in parameter for the buffer(void_ptr) that will get written with the data. This makes bindings crazy.
-rw-r--r--src/lib/elementary/efl_ui_text.eo2
-rw-r--r--src/lib/elementary/elm_entry.eo2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elementary/efl_ui_text.eo b/src/lib/elementary/efl_ui_text.eo
index 60cc19cfc6..6e45ce64e0 100644
--- a/src/lib/elementary/efl_ui_text.eo
+++ b/src/lib/elementary/efl_ui_text.eo
@@ -284,7 +284,7 @@ class Efl.Ui.Text (Efl.Ui.Layout, Elm.Interface_Scrollable, Efl.Ui.Clickable,
input_panel_imdata_get @const {
[[Get the specific data of the current input panel.]]
params {
- @inout 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.]]
}
}
diff --git a/src/lib/elementary/elm_entry.eo b/src/lib/elementary/elm_entry.eo
index a6015a97a3..7785aaa28c 100644
--- a/src/lib/elementary/elm_entry.eo
+++ b/src/lib/elementary/elm_entry.eo
@@ -697,7 +697,7 @@ class Elm.Entry (Efl.Ui.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.]]
+ @in data: void_ptr; [[The buffer where to write specific data to be got from the input panel.]]
@out len: int; [[The length of data.]]
}
}