[vala] json-glib-1.0: Use metadata instead of json-glib-1.0-custom.vala
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] json-glib-1.0: Use metadata instead of json-glib-1.0-custom.vala
- Date: Sun, 14 Mar 2010 05:30:57 +0000 (UTC)
commit 20db7f59c9ae1d9ea157adacb91e73666e53f69b
Author: Evan Nemerson <evan coeus-group com>
Date: Sat Mar 13 21:25:30 2010 -0800
json-glib-1.0: Use metadata instead of json-glib-1.0-custom.vala
vapi/json-glib-1.0.vapi | 4 +-
.../json-glib-1.0/json-glib-1.0-custom.vala | 31 --------------------
vapi/packages/json-glib-1.0/json-glib-1.0.metadata | 6 ++--
3 files changed, 5 insertions(+), 36 deletions(-)
---
diff --git a/vapi/json-glib-1.0.vapi b/vapi/json-glib-1.0.vapi
index bc9d852..5bedfaa 100644
--- a/vapi/json-glib-1.0.vapi
+++ b/vapi/json-glib-1.0.vapi
@@ -3,7 +3,7 @@
[CCode (cprefix = "Json", lower_case_cprefix = "json_")]
namespace Json {
[Compact]
- [CCode (ref_function = "json_array_ref", unref_function = "json_array_unref", cheader_filename = "json-glib/json-glib.h")]
+ [CCode (ref_function = "json_array_ref", unref_function = "json_array_unref", type_id = "JSON_TYPE_ARRAY", cheader_filename = "json-glib/json-glib.h")]
public class Array {
[CCode (has_construct_function = false)]
public Array ();
@@ -79,7 +79,7 @@ namespace Json {
public unowned string type_name ();
}
[Compact]
- [CCode (ref_function = "json_object_ref", unref_function = "json_object_unref", cheader_filename = "json-glib/json-glib.h")]
+ [CCode (ref_function = "json_object_ref", unref_function = "json_object_unref", type_id = "JSON_TYPE_OBJECT", cheader_filename = "json-glib/json-glib.h")]
public class Object {
[CCode (has_construct_function = false)]
public Object ();
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 ac51451..5feb0d7 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
@@ -11,7 +11,7 @@ json_serialize_gobject.length is_out="1"
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_array_get_elements type_arguments="unowned Node" transfer_ownership="1"
json_gobject_to_data transfer_ownership="1"
json_gobject_to_data.length is_out="1"
json_node_copy transfer_ownership="1"
@@ -21,8 +21,8 @@ json_node_dup_string transfer_ownership="1"
json_node_get_value.value is_out="1"
json_node_take_array.array transfer_ownership="1"
json_node_take_object.object transfer_ownership="1"
-json_object_get_members hidden="1"
-json_object_get_values hidden="1"
+json_object_get_members type_arguments="unowned string" transfer_ownership="1"
+json_object_get_values type_arguments="unowned Node" transfer_ownership="1"
json_object_add_member.node transfer_ownership="1"
json_object_set_array_member.value transfer_ownership="1"
json_object_set_object_member.value transfer_ownership="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]