]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gobject-2.0: Bind BoxedCopyFunc/BoxedFreeFunc
authorRico Tzschichholz <ricotz@ubuntu.com>
Thu, 22 Oct 2015 12:53:48 +0000 (14:53 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Thu, 22 Oct 2015 12:53:48 +0000 (14:53 +0200)
vapi/gobject-2.0.vapi

index 918609d90d95337159903925609a461c7a0cc6f0..803bd59711f73407cb65c92b5fa510ff2b3777eb 100644 (file)
@@ -452,6 +452,11 @@ namespace GLib {
        [CCode (has_target = false)]
        public delegate void ValueTransform (Value src_value, ref Value dest_value);
 
+       [CCode (has_target = false)]
+       public delegate void* BoxedCopyFunc (void* boxed);
+       [CCode (has_target = false)]
+       public delegate void* BoxedFreeFunc (void* boxed);
+
        [CCode (copy_function = "g_value_copy", destroy_function = "g_value_unset", type_id = "G_TYPE_VALUE", marshaller_type_name = "BOXED", get_value_function = "g_value_get_boxed", set_value_function = "g_value_set_boxed", take_value_function = "g_value_take_boxed", type_signature = "v")]
        public struct Value {
                [CCode (cname = "G_VALUE_HOLDS")]