Re: [Vala] Cairo matrix multiply vapi question

2014-12-16 Thread Donn
On 16/12/2014 12:01, Luca Bruno wrote: .multiply() is a method of Mmatrix. Therefore you call multiply on an instance of Matrix which is the one that will get modified. Ah, thanks Luca. \d ___ vala-list mailing list vala-list@gnome.org https://mail.gno

Re: [Vala] Cairo matrix multiply vapi question

2014-12-16 Thread Luca Bruno
On 16/12/2014 10:58, Donn wrote: > Hi, > Not sure if I've found a bug or am simply thick. I'm going with the > latter :D > > At: https://git.gnome.org/browse/vala/plain/vapi/cairo.vapi > Down near the end, under the public struct Matrix, look for: > > public void multiply (Matrix a, Matrix b); > >

[Vala] Cairo matrix multiply vapi question

2014-12-16 Thread Donn
Hi, Not sure if I've found a bug or am simply thick. I'm going with the latter :D At: https://git.gnome.org/browse/vala/plain/vapi/cairo.vapi Down near the end, under the public struct Matrix, look for: public void multiply (Matrix a, Matrix b); In the Cairo C docs, it looks like this: void cai

Re: [Vala] Implicit array size for function allocating an array

2014-12-16 Thread Luca Bruno
On 16/12/2014 10:52, Nicolas CARRIER wrote: > Hello, > > I'm trying to bind a C function which has the following prototype: > > int sos_addresses_to_string(const struct sos_address *addresses, > char ***string_addresses, int nb); > > It's job is to convert an array of addresses, into an arr

[Vala] Implicit array size for function allocating an array

2014-12-16 Thread Nicolas CARRIER
Hello, I'm trying to bind a C function which has the following prototype: int sos_addresses_to_string(const struct sos_address *addresses, char ***string_addresses, int nb); It's job is to convert an array of addresses, into an array of their string representation. So both the