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.40.25~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=368b2f77a116928f1f2b2d3c4c785caab47b9400;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 fc1e6d22c..771a89a2c 100644 --- a/vapi/gstreamer-1.0.vapi +++ b/vapi/gstreamer-1.0.vapi @@ -1517,7 +1517,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 a9952e092..73b0210cc 100644 --- a/vapi/metadata/Gst-1.0.metadata +++ b/vapi/metadata/Gst-1.0.metadata @@ -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