[vala] gobject-2.0: Bind BoxedCopyFunc/BoxedFreeFunc



commit d20bebb980ad097713536077859d89fa77f75061
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Thu Oct 22 14:53:48 2015 +0200

    gobject-2.0: Bind BoxedCopyFunc/BoxedFreeFunc

 vapi/gobject-2.0.vapi |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/vapi/gobject-2.0.vapi b/vapi/gobject-2.0.vapi
index 918609d..803bd59 100644
--- a/vapi/gobject-2.0.vapi
+++ b/vapi/gobject-2.0.vapi
@@ -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")]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]