]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
rest-0.7: Fix ParamsIter.next() binding
authorRico Tzschichholz <ricotz@ubuntu.com>
Mon, 12 Oct 2020 16:13:32 +0000 (18:13 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sun, 3 Jan 2021 11:45:52 +0000 (12:45 +0100)
Thanks to Rasmus Thomsen

vapi/metadata/Rest-0.7.metadata
vapi/rest-0.7.vapi

index e02b80a2cc4a72ef0e9c411f89c7632ebabc7351..c734a223ee976a7b2536db85d4ca3d560e721746 100644 (file)
@@ -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
index d8a7d44fc1313ab09b50532af40b0950c34fb91a..4ed7a6149fb353cf33e211181b492aa44ad45d4b 100644 (file)
@@ -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 {