diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2013-09-06 20:29:26 +0200 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2013-09-06 20:29:26 +0200 |
commit | f6fcaa5420136aae54aa08310836d4d51ab21f1a (patch) | |
tree | 6e8f1f378a195cd5030fbd00471c22f0c7e2fc90 /vapi/json-glib-1.0.vapi | |
parent | 49b81b97cc97d6938aaff59ff413773c17ae97b7 (diff) | |
download | vala-f6fcaa5420136aae54aa08310836d4d51ab21f1a.tar.gz |
girparser: Discover ref/unref methods
Add ability to find ref/unref methods and add corresponding ccode
attributes. Additionally rebuild all gir bindings to pick up the
changes.
https://bugzilla.gnome.org/show_bug.cgi?id=666796
Diffstat (limited to 'vapi/json-glib-1.0.vapi')
-rw-r--r-- | vapi/json-glib-1.0.vapi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vapi/json-glib-1.0.vapi b/vapi/json-glib-1.0.vapi index 9d67ec4bb..268846554 100644 --- a/vapi/json-glib-1.0.vapi +++ b/vapi/json-glib-1.0.vapi @@ -2,7 +2,7 @@ [CCode (cprefix = "Json", gir_namespace = "Json", gir_version = "1.0", lower_case_cprefix = "json_")] namespace Json { - [CCode (cheader_filename = "json-glib/json-glib.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "json_array_get_type ()")] + [CCode (cheader_filename = "json-glib/json-glib.h", ref_function = "json_array_ref", type_id = "json_array_get_type ()", unref_function = "json_array_unref")] [Compact] public class Array { [CCode (has_construct_function = false)] @@ -113,7 +113,7 @@ namespace Json { public void take_object (owned Json.Object object); public unowned string type_name (); } - [CCode (cheader_filename = "json-glib/json-glib.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "json_object_get_type ()")] + [CCode (cheader_filename = "json-glib/json-glib.h", ref_function = "json_object_ref", type_id = "json_object_get_type ()", unref_function = "json_object_unref")] [Compact] public class Object { [CCode (has_construct_function = false)] |