diff options
author | Chris White <cxwembedded@gmail.com> | 2020-12-23 11:14:51 -0500 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2020-12-29 15:32:51 +0100 |
commit | b551c21d1c4130dcccc5e6777240173b5d765d5c (patch) | |
tree | 073fd7e69453654193bcf5945ad4f4c04dafe243 | |
parent | 17f12b289bdd6224770dbf296dcd8b7b5632bdde (diff) | |
download | vala-b551c21d1c4130dcccc5e6777240173b5d765d5c.tar.gz |
gstreamer-1.0: Fix direction of Gst.Iterator.fold() ret parameter
See https://gitlab.gnome.org/GNOME/vala/issues/1014
-rw-r--r-- | vapi/gstreamer-1.0.vapi | 2 | ||||
-rw-r--r-- | vapi/metadata/Gst-1.0.metadata | 2 |
2 files changed, 3 insertions, 1 deletions
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 |