diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2020-10-12 18:13:32 +0200 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2020-10-12 18:13:32 +0200 |
commit | 0e104c7da4675bfc57ada08a3d969b937a9132d9 (patch) | |
tree | 7b441b4f25ac2046a4a58267a769ad62ef6b8b5b | |
parent | dc4d5b070886b11ada5e6700956e39f7a197c430 (diff) | |
download | vala-0e104c7da4675bfc57ada08a3d969b937a9132d9.tar.gz |
rest-0.7: Fix ParamsIter.next() binding
Thanks to Rasmus Thomsen
-rw-r--r-- | vapi/metadata/Rest-0.7.metadata | 2 | ||||
-rw-r--r-- | vapi/rest-0.7.vapi | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/vapi/metadata/Rest-0.7.metadata b/vapi/metadata/Rest-0.7.metadata index e02b80a2c..c734a223e 100644 --- a/vapi/metadata/Rest-0.7.metadata +++ b/vapi/metadata/Rest-0.7.metadata @@ -27,6 +27,8 @@ Params cheader_filename="rest/rest-params.h" .as_string_hash_table type_arguments="unowned string,unowned string" .get unowned nullable ParamsIter cheader_filename="rest/rest-params.h" + .next.name out + .next.param out nullable XmlNode cheader_filename="rest/rest-xml-node.h" .ref skip=false .unref skip=false diff --git a/vapi/rest-0.7.vapi b/vapi/rest-0.7.vapi index d8a7d44fc..4ed7a6149 100644 --- a/vapi/rest-0.7.vapi +++ b/vapi/rest-0.7.vapi @@ -93,7 +93,7 @@ namespace Rest { [Compact] public class ParamsIter { public void init (Rest.Params @params); - public bool next (string name, Rest.Param param); + public bool next (out unowned string name, out unowned Rest.Param? param); } [CCode (cheader_filename = "rest/rest-proxy.h", type_id = "rest_proxy_get_type ()")] public class Proxy : GLib.Object { |