[Vala] How to set the type of the elements in a container on bindings.

2012-05-16 Thread Alejandro T. Colombini
Hello vala-list, I'm generating a Vala binding for a C library using vapigen and I've managed to set the type of the elements by using the GObject Introspection's "element-type" annotation for both the parameters and return values of functions, but now I need a way to do the same thing for the el

Re: [Vala] How to set the type of the elements in a container on bindings.

2012-05-16 Thread Evan Nemerson
On Wed, 2012-05-16 at 15:28 +0200, Alejandro T. Colombini wrote: > Hello vala-list, > I'm generating a Vala binding for a C library using vapigen and I've > managed to set the type of the elements by using the GObject > Introspection's "element-type" annotation for both the parameters and > retur

Re: [Vala] How to set the type of the elements in a container on bindings.

2012-05-16 Thread atcolombini
Thanks! That's exactlty what I was looking for. I just mentioned the GIDL beacause I didn't know how to do it, but I understad the advantage of putting it on the G-I annotations. Alex El 16/05/2012 21:09, Evan Nemerson escribió: On Wed, 2012-05-16 at 15:28 +0200, Alejandro T. Colombini wrote