summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2016-11-10 15:59:47 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2016-11-10 15:59:47 +0100
commit596a3968871d0d4d6b18cf05df836323f99597fa (patch)
tree45674e98052e749dd051c132f43c23a1ed9865bd
parent308aea36834e724fc093a526321d74ec9fdc062f (diff)
downloadefl-596a3968871d0d4d6b18cf05df836323f99597fa.tar.gz
efl_ui_win: temporarily use terminated_array to remove a pointer
see FIXME.
-rw-r--r--src/lib/elementary/efl_ui_win.eo10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/lib/elementary/efl_ui_win.eo b/src/lib/elementary/efl_ui_win.eo
index 4de6a2b7c0..d7f12d6560 100644
--- a/src/lib/elementary/efl_ui_win.eo
+++ b/src/lib/elementary/efl_ui_win.eo
@@ -646,13 +646,19 @@ class Efl.Ui.Win (Elm.Widget, Efl.Canvas, Elm.Interface.Atspi.Window,
}
}
@property available_profiles {
+ /* FIXME: terminated_array is actually wrong here (the "count" argument
+ * provides the size, not a NULL at the end of it), but we have no way
+ * to represent this in Eolian correctly, it will work fine for C but
+ * will break for other languages; we probably want to re-do this API
+ * completely though, so that it can bind nicely
+ */
set {
[[Set the array of available profiles to a window.
@since 1.8
]]
values {
- profiles: ptr(string); [[The string array of available profiles.]]
+ profiles: terminated_array<string>; [[The string array of available profiles.]]
count: uint; [[The number of members in profiles.]]
}
}
@@ -662,7 +668,7 @@ class Efl.Ui.Win (Elm.Widget, Efl.Canvas, Elm.Interface.Atspi.Window,
@since 1.8
]]
values {
- profiles: char**; [[The string array of available profiles.]]
+ profiles: terminated_array<ptr(char)>; [[The string array of available profiles.]]
count: uint; [[The number of members in profiles.]]
}
return: bool;