From 0454a9cb9536626730fb648c3d8db178a6dfcc90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 31 Aug 2017 12:11:47 +0300 Subject: [PATCH] Ignore some now generated functions for which we have manual implementations --- Gir_Gst.toml | 15 +++++++++++++++ gstreamer/src/auto/pad.rs | 12 ------------ gstreamer/src/auto/proxy_pad.rs | 4 ---- 3 files changed, 15 insertions(+), 16 deletions(-) diff --git a/Gir_Gst.toml b/Gir_Gst.toml index fa3aefa40..4b7efce45 100644 --- a/Gir_Gst.toml +++ b/Gir_Gst.toml @@ -387,6 +387,16 @@ status = "generate" # Move buffer ignore = true + [[object.function]] + name = "chain_list" + # Move buffer + ignore = true + + [[object.function]] + name = "push_list" + # Move buffer + ignore = true + [[object.function]] name = "pull_range" # Buffer can be NULL @@ -471,6 +481,11 @@ status = "generate" # Buffer move ignore = true + [[object.function]] + name = "chain_list_default" + # Buffer move + ignore = true + [[object.function]] name = "getrange_default" # Buffer move diff --git a/gstreamer/src/auto/pad.rs b/gstreamer/src/auto/pad.rs index 776e78be2..94328048e 100644 --- a/gstreamer/src/auto/pad.rs +++ b/gstreamer/src/auto/pad.rs @@ -79,8 +79,6 @@ pub trait PadExt { fn can_link>(&self, sinkpad: &P) -> bool; - //fn chain_list(&self, list: /*Ignored*/&mut BufferList) -> FlowReturn; - fn check_reconfigure(&self) -> bool; fn create_stream_id<'a, P: IsA, Q: Into>>(&self, parent: &P, stream_id: Q) -> Option; @@ -161,8 +159,6 @@ pub trait PadExt { fn peer_query_position(&self, format: Format) -> Option; - //fn push_list(&self, list: /*Ignored*/&mut BufferList) -> FlowReturn; - fn query_accept_caps(&self, caps: &Caps) -> bool; fn query_caps<'a, P: Into>>(&self, filter: P) -> Option; @@ -249,10 +245,6 @@ impl + IsA> PadExt for O { } } - //fn chain_list(&self, list: /*Ignored*/&mut BufferList) -> FlowReturn { - // unsafe { TODO: call ffi::gst_pad_chain_list() } - //} - fn check_reconfigure(&self) -> bool { unsafe { from_glib(ffi::gst_pad_check_reconfigure(self.to_glib_none().0)) @@ -487,10 +479,6 @@ impl + IsA> PadExt for O { } } - //fn push_list(&self, list: /*Ignored*/&mut BufferList) -> FlowReturn { - // unsafe { TODO: call ffi::gst_pad_push_list() } - //} - fn query_accept_caps(&self, caps: &Caps) -> bool { unsafe { from_glib(ffi::gst_pad_query_accept_caps(self.to_glib_none().0, caps.to_glib_none().0)) diff --git a/gstreamer/src/auto/proxy_pad.rs b/gstreamer/src/auto/proxy_pad.rs index c9ead3aaf..3081aa29c 100644 --- a/gstreamer/src/auto/proxy_pad.rs +++ b/gstreamer/src/auto/proxy_pad.rs @@ -21,10 +21,6 @@ glib_wrapper! { } impl ProxyPad { - //pub fn chain_list_default<'a, P: IsA, Q: IsA + 'a, R: Into>>(pad: &P, parent: R, list: /*Ignored*/&mut BufferList) -> FlowReturn { - // unsafe { TODO: call ffi::gst_proxy_pad_chain_list_default() } - //} - pub fn iterate_internal_links_default<'a, P: IsA, Q: IsA + 'a, R: Into>>(pad: &P, parent: R) -> Option { skip_assert_initialized!(); let parent = parent.into();