Re: [Vala] GValue magic
- From: "Christian Hergert" <christian hergert gmail com>
- To: vala-list gnome org
- Subject: Re: [Vala] GValue magic
- Date: Mon, 7 Jul 2008 12:59:48 -0700
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 <sam liddicott com> wrote:
Christian Hergert 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 do_something (GValue *value);
// create a gvalue, and use proper g_value_set method
do_something ("blah");
or
do_something (100);
If others are interested, I will create a bug.
Yeah, this looks good.
Sam
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]