[vala/staging] gstreamer-1.0: Fix direction of Gst.Iterator.fold() ret parameter



commit b551c21d1c4130dcccc5e6777240173b5d765d5c
Author: Chris White <cxwembedded gmail com>
Date:   Wed Dec 23 11:14:51 2020 -0500

    gstreamer-1.0: Fix direction of Gst.Iterator.fold() ret parameter
    
    See https://gitlab.gnome.org/GNOME/vala/issues/1014

 vapi/gstreamer-1.0.vapi        | 2 +-
 vapi/metadata/Gst-1.0.metadata | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)
---
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<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);
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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]