From: Chris White Date: Wed, 23 Dec 2020 16:14:51 +0000 (-0500) Subject: gstreamer-1.0: Fix direction of Gst.Iterator.fold() ret parameter X-Git-Tag: 0.51.1~126 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b551c21d1c4130dcccc5e6777240173b5d765d5c;p=thirdparty%2Fvala.git gstreamer-1.0: Fix direction of Gst.Iterator.fold() ret parameter See https://gitlab.gnome.org/GNOME/vala/issues/1014 --- diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi index 610e93ed8..bfaa4447d 100644 --- a/vapi/gstreamer-1.0.vapi +++ b/vapi/gstreamer-1.0.vapi @@ -1575,7 +1575,7 @@ namespace Gst { public Gst.Iterator filter ([CCode (type = "GCompareFunc")] GLib.SearchFunc func, T user_data); [CCode (simple_generics = true)] public bool find_custom ([CCode (type = "GCompareFunc")] GLib.SearchFunc 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); diff --git a/vapi/metadata/Gst-1.0.metadata b/vapi/metadata/Gst-1.0.metadata index a88dbf8b9..e433211a5 100644 --- a/vapi/metadata/Gst-1.0.metadata +++ b/vapi/metadata/Gst-1.0.metadata @@ -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