Thanks, we should document this syntax.

Do you happen to know the genie way of adding attributes to function
arguments?

None of these work:

    def new Write (stream : NP.Stream, offset : int32,
[CCode(array_length_pos=0.9)] buffer :  array of char) : int32

    def new Write (stream : NP.Stream, offset : int32,
                           [CCode(array_length_pos=0.9)]
                           buffer :  array of char) : int32

    def new Write (stream : NP.Stream, offset : int32, buffer :
[CCode(array_length_pos=0.9)]  array of char) : int32
_______________________________________________
vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to