Re: [Vala] how to call extern function expecting function pointer?

2008-12-11 Thread Daniel Lucraft
Hi Adam I posted some code a few weeks ago on this list of how to call qsort: http://mail.gnome.org/archives/vala-list/2008-November/msg00110.html Juergbi said that using a VAPI wasn't going to be how we eventually have sort in Vala, rather it would be implemented by the compiler in the same

Re: [Vala] use weak and var together

2008-12-11 Thread Jürg Billeter
On Thu, 2008-12-11 at 23:56 -0500, Yu Feng wrote: On Thu, 2008-12-11 at 22:11 +0100, Jürg Billeter wrote: On Wed, 2008-12-03 at 14:05 +, Frédéric Gaudy wrote: I don't know if it' a bug or a feature. When I use weak and var keywords, I obtain a error: error: The type name `var'