]> 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>
Tue, 29 Dec 2020 14:32:51 +0000 (15:32 +0100)
See https://gitlab.gnome.org/GNOME/vala/issues/1014

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

index 610e93ed826175d660af0bc42b6402f9fb353e04..bfaa4447de9bcbbddb0a63975925802f8dc09419 100644 (file)
@@ -1575,7 +1575,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 a88dbf8b973eab0e619710d3809a9c9ce2170b84..e433211a5c2da21f94596e8903ea10b10a96b39e 100644 (file)
@@ -126,6 +126,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