[vala] gstreamer: Fix Gst.ImplementsInterface bindings
- From: Sebastian Dröge <sdroege src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gstreamer: Fix Gst.ImplementsInterface bindings
- Date: Thu, 8 Apr 2010 08:33:27 +0000 (UTC)
commit 0532f4f99653f43165328e10f4c4cae27a39946d
Author: Sebastian Dröge <sebastian droege collabora co uk>
Date: Sun Apr 4 21:40:28 2010 +0200
gstreamer: Fix Gst.ImplementsInterface bindings
vapi/gstreamer-0.10.vapi | 4 ++--
.../gstreamer-0.10/gstreamer-0.10-custom.vala | 5 +++++
.../gstreamer-0.10/gstreamer-0.10.metadata | 2 ++
3 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gstreamer-0.10.vapi b/vapi/gstreamer-0.10.vapi
index 0496392..d75b87d 100644
--- a/vapi/gstreamer-0.10.vapi
+++ b/vapi/gstreamer-0.10.vapi
@@ -1457,8 +1457,8 @@ namespace Gst {
}
[CCode (cheader_filename = "gst/gst.h")]
public interface ImplementsInterface : Gst.Element {
- public static void* cast (void* from, GLib.Type type);
- public static bool check (void* from, GLib.Type type);
+ public unowned Gst.Element? cast (GLib.Type type);
+ public bool check (GLib.Type type);
[NoWrapper]
public abstract bool supported (GLib.Type iface_type);
}
diff --git a/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala b/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala
index 545bdd9..43826c5 100644
--- a/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala
+++ b/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala
@@ -98,6 +98,11 @@ namespace Gst {
}
#endif
+ public interface ImplementsInterface : Gst.Element {
+ public unowned Gst.Element? cast (GLib.Type type);
+ public bool check (GLib.Type type);
+ }
+
[CCode (ref_function = "gst_object_ref", unref_function = "gst_object_unref", ref_sink_function = "gst_object_ref_sink")]
public class Object {
public Gst.Object @ref ();
diff --git a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
index 1028e49..f70dff9 100644
--- a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
+++ b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
@@ -195,6 +195,8 @@ gst_format_get_name hidden="1"
GstFormatDefinition is_value_type="1"
GstGhostPad base_class="GstPad"
GstGhostPadClass hidden="1"
+gst_implements_interface_cast hidden="1"
+gst_implements_interface_check hidden="1"
gst_index_entry_copy transfer_ownership="1"
gst_init hidden="1"
gst_init_get_option_group transfer_ownership="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]