[vala] gstreamer-0.10: Fix Gst.Iterator.fold() binding
- From: Sebastian Dröge <sdroege src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gstreamer-0.10: Fix Gst.Iterator.fold() binding
- Date: Wed, 23 Jun 2010 09:40:26 +0000 (UTC)
commit 914dea06be2f04e14ae75f74f7fa13819848344e
Author: Sebastian Dröge <sebastian droege collabora co uk>
Date: Tue Jun 22 12:30:43 2010 +0200
gstreamer-0.10: Fix Gst.Iterator.fold() binding
The value should be an out parameter, which is initialized and
set by the fold function.
vapi/gstreamer-0.10.vapi | 2 +-
.../gstreamer-0.10/gstreamer-0.10.metadata | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gstreamer-0.10.vapi b/vapi/gstreamer-0.10.vapi
index 288ba4b..74031ee 100644
--- a/vapi/gstreamer-0.10.vapi
+++ b/vapi/gstreamer-0.10.vapi
@@ -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);
diff --git a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
index a8131a5..481bb7b 100644
--- a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
+++ b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
@@ -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"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]