Re: [Vala] GValue magic

2008-07-08 Thread Andrea Bolognani
On Mon, 7 Jul 2008 12:05:29 -0700 Christian Hergert [EMAIL PROTECTED] wrote: Hi, Wanted to suggest a feature that would be useful to simply the consumption of GValue based methods. Just a bit of compiler magic to automatically box/unbox values into GValue's? For example, public void

Re: [Vala] GValue magic

2008-07-08 Thread Sam Liddicott
* Andrea Bolognani wrote, On 08/07/08 10:31: On Mon, 7 Jul 2008 12:05:29 -0700 Christian Hergert [EMAIL PROTECTED] wrote: Hi, Wanted to suggest a feature that would be useful to simply the consumption of GValue based methods. Just a bit of compiler magic to automatically box/unbox

[Vala] GValue magic

2008-07-07 Thread Christian Hergert
Hi, Wanted to suggest a feature that would be useful to simply the consumption of GValue based methods. Just a bit of compiler magic to automatically box/unbox values into GValue's? For example, public void do_something (GValue *value); // create a gvalue, and use proper g_value_set method

Re: [Vala] GValue magic

2008-07-07 Thread Christian Hergert
Ok, created bug #541949. http://bugzilla.gnome.org/show_bug.cgi?id=541949 -- Christian On Mon, Jul 7, 2008 at 12:52 PM, Sam Liddicott [EMAIL PROTECTED] wrote: Christian Hergert wrote: Hi, Wanted to suggest a feature that would be useful to simply the consumption of GValue based methods.