[vala] json-glib-1.0: Fix json_gobject_to_data binding



commit d0761bcd3cd9322819da369a1dcf94111800468f
Author: Jürg Billeter <j bitron ch>
Date:   Wed Jan 13 14:24:13 2010 +0100

    json-glib-1.0: Fix json_gobject_to_data binding

 vapi/json-glib-1.0.vapi                            |    2 +-
 vapi/packages/json-glib-1.0/json-glib-1.0.metadata |    2 ++
 2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/vapi/json-glib-1.0.vapi b/vapi/json-glib-1.0.vapi
index 68403bb..4d9cd55 100644
--- a/vapi/json-glib-1.0.vapi
+++ b/vapi/json-glib-1.0.vapi
@@ -187,7 +187,7 @@ namespace Json {
 	[CCode (cheader_filename = "json-glib/json-glib.h")]
 	public static unowned Json.Node gobject_serialize (GLib.Object gobject);
 	[CCode (cheader_filename = "json-glib/json-glib.h")]
-	public static unowned string gobject_to_data (GLib.Object gobject, size_t length);
+	public static string gobject_to_data (GLib.Object gobject, out size_t length);
 	[CCode (cheader_filename = "json-glib/json-gobject.h")]
 	public static string serialize_gobject (GLib.Object gobject, out size_t length);
 }
diff --git a/vapi/packages/json-glib-1.0/json-glib-1.0.metadata b/vapi/packages/json-glib-1.0/json-glib-1.0.metadata
index 08bbc39..fc327b1 100644
--- a/vapi/packages/json-glib-1.0/json-glib-1.0.metadata
+++ b/vapi/packages/json-glib-1.0/json-glib-1.0.metadata
@@ -12,6 +12,8 @@ json_array_add_array_element.value transfer_ownership="1"
 json_array_add_element.node transfer_ownership="1"
 json_array_add_object_element.value transfer_ownership="1"
 json_array_get_elements hidden="1"
+json_gobject_to_data transfer_ownership="1"
+json_gobject_to_data.length is_out="1"
 json_node_copy transfer_ownership="1"
 json_node_dup_array transfer_ownership="1"
 json_node_dup_object transfer_ownership="1"



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