]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gstreamer-1.0: Fix direction of Gst.Iterator.fold() ret parameter
authorChris White <cxwembedded@gmail.com>
Wed, 23 Dec 2020 16:14:51 +0000 (11:14 -0500)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sun, 3 Jan 2021 12:17:50 +0000 (13:17 +0100)
See https://gitlab.gnome.org/GNOME/vala/issues/1014

vapi/gstreamer-1.0.vapi
vapi/metadata/Gst-1.0.metadata

index fc1e6d22c669df4d3449aee858b92ba23e33a2f0..771a89a2cd6a9be945ece3a6d733b4e6fdd37ee5 100644 (file)
@@ -1517,7 +1517,7 @@ namespace Gst {
                public Gst.Iterator filter<T> ([CCode (type = "GCompareFunc")] GLib.SearchFunc<GLib.Value?,T> func, T user_data);
                [CCode (simple_generics = true)]
                public bool find_custom<T> ([CCode (type = "GCompareFunc")] GLib.SearchFunc<GLib.Value?,T> func, out GLib.Value elem, T user_data);
-               public Gst.IteratorResult fold ([CCode (delegate_target_pos = 2.1)] Gst.IteratorFoldFunction func, GLib.Value ret);
+               public Gst.IteratorResult fold ([CCode (delegate_target_pos = 2.1)] Gst.IteratorFoldFunction func, ref GLib.Value ret);
                public Gst.IteratorResult @foreach (Gst.IteratorForeachFunction func);
                public void free ();
                public Gst.IteratorResult next (out GLib.Value elem);
index a9952e09225d327ef94968b32ac0b9d0de0107e8..73b0210cc02272c79855df5aeebc7bec7cf7e3f2 100644 (file)
@@ -125,6 +125,8 @@ value_set_int_range_step.value ref
 value_set_structure.value ref
 ChildProxy
   .get_property.value ref
+Iterator
+  .fold.ret ref
 ValueArray
   .append_and_take_value.value ref
   .append_value.value ref