Ignore some now generated functions for which we have manual implementations

This commit is contained in:
Sebastian Dröge 2017-08-31 12:11:47 +03:00
parent 659512b268
commit 0454a9cb95
3 changed files with 15 additions and 16 deletions

View file

@ -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

View file

@ -79,8 +79,6 @@ pub trait PadExt {
fn can_link<P: IsA<Pad>>(&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<Element>, Q: Into<Option<&'a str>>>(&self, parent: &P, stream_id: Q) -> Option<String>;
@ -161,8 +159,6 @@ pub trait PadExt {
fn peer_query_position(&self, format: Format) -> Option<i64>;
//fn push_list(&self, list: /*Ignored*/&mut BufferList) -> FlowReturn;
fn query_accept_caps(&self, caps: &Caps) -> bool;
fn query_caps<'a, P: Into<Option<&'a Caps>>>(&self, filter: P) -> Option<Caps>;
@ -249,10 +245,6 @@ impl<O: IsA<Pad> + IsA<glib::object::Object>> 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<O: IsA<Pad> + IsA<glib::object::Object>> 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))

View file

@ -21,10 +21,6 @@ glib_wrapper! {
}
impl ProxyPad {
//pub fn chain_list_default<'a, P: IsA<Pad>, Q: IsA<Object> + 'a, R: Into<Option<&'a Q>>>(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<Pad>, Q: IsA<Object> + 'a, R: Into<Option<&'a Q>>>(pad: &P, parent: R) -> Option<Iterator> {
skip_assert_initialized!();
let parent = parent.into();