q66 pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=596a3968871d0d4d6b18cf05df836323f99597fa

commit 596a3968871d0d4d6b18cf05df836323f99597fa
Author: Daniel Kolesa <d.kol...@osg.samsung.com>
Date:   Thu Nov 10 15:59:47 2016 +0100

    efl_ui_win: temporarily use terminated_array to remove a pointer
    
    see FIXME.
---
 src/lib/elementary/efl_ui_win.eo | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/lib/elementary/efl_ui_win.eo b/src/lib/elementary/efl_ui_win.eo
index 4de6a2b..d7f12d6 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;

-- 


Reply via email to