+2008-01-27 Jürg Billeter <j@bitron.ch>
+
+ * vapi/glib-2.0.vapi: fix GValue binding
+
2008-01-27 Jürg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: bind message output functions
public abstract class Boxed {
}
- [CCode (free_function = "g_free", type_id = "G_TYPE_VALUE")]
- public class Value {
+ [CCode (type_id = "G_TYPE_VALUE")]
+ public struct Value {
[CCode (cname = "G_VALUE_HOLDS")]
public bool holds (Type type);
[CCode (cname = "G_VALUE_TYPE")]
[CCode (cname = "G_VALUE_TYPE_NAME")]
public weak string type_name ();
- public weak Value init (Type g_type);
- public void copy (Value dest_value);
+ public Value (Type g_type);
+ public void copy (out Value dest_value);
public weak Value reset ();
public void unset ();
public void set_instance (pointer instance);