After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 541949 - GValue boxing magic
GValue boxing magic
Status: RESOLVED DUPLICATE of bug 528436
Product: vala
Classification: Core
Component: general
0.3.x
Other All
: Normal enhancement
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2008-07-07 19:58 UTC by Christian Hergert
Modified: 2008-07-08 08:50 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Hergert 2008-07-07 19:58:22 UTC
It 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);
Comment 1 Jürg Billeter 2008-07-08 08:50:02 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 528436 ***