]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gstreamer-0.10: Fix Gst.Iterator.fold() binding
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 22 Jun 2010 10:30:43 +0000 (12:30 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 22 Jun 2010 19:53:24 +0000 (21:53 +0200)
The value should be an out parameter, which is initialized and
set by the fold function.

vapi/gstreamer-0.10.vapi
vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata

index 288ba4b537ddac93f72ae3eb70db785293ab0991..74031ee6cbc5c078f0d21dbb35fc8843fd9d8251 100644 (file)
@@ -613,7 +613,7 @@ namespace Gst {
                [CCode (has_construct_function = false)]
                public Iterator (uint size, GLib.Type type, GLib.Mutex @lock, ref uint32 master_cookie, Gst.IteratorNextFunction next, Gst.IteratorItemFunction item, Gst.IteratorResyncFunction resync, Gst.IteratorFreeFunction free);
                public T find_custom (GLib.CompareFunc func, T user_data);
-               public Gst.IteratorResult fold ([CCode (delegate_target_pos = 2.1)] Gst.IteratorFoldFunction func, Gst.Value? ret);
+               public Gst.IteratorResult fold ([CCode (delegate_target_pos = 2.1)] Gst.IteratorFoldFunction func, out Gst.Value ret);
                public Gst.IteratorResult @foreach (GLib.Func func);
                [CCode (has_construct_function = false)]
                public Iterator.list (GLib.Type type, GLib.Mutex @lock, ref uint32 master_cookie, GLib.List<T> list, void* owner, Gst.IteratorItemFunction item, Gst.IteratorDisposeFunction free);
index a8131a5c666430fbba3ae91a56f3d66e1eabad0a..481bb7bf14d11f7f5b45537afdf935d36dd9d826 100644 (file)
@@ -233,7 +233,7 @@ GstIterator.pushed nullable="1"
 GstIterator.master_cookie type_name="pointer"
 gst_iterator_next.elem type_name="T" is_out="1" transfer_ownership="1"
 gst_iterator_fold.func delegate_target_pos="2.1"
-gst_iterator_fold.ret nullable="1"
+gst_iterator_fold.ret is_out="1"
 gst_iterator_new_list.list type_arguments="T"
 gst_iterator_new.master_cookie is_ref="1"
 gst_iterator_new_list.master_cookie is_ref="1"