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



commit 6282b6b2e25be1a038c70ebe58b309fee6e776dc
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 5060812d7..b14c64165 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -1560,7 +1560,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]