Regenerate everything with latest gir

This commit is contained in:
Sebastian Dröge 2017-06-29 09:02:08 +03:00
parent 771b5c8094
commit b14f0278c1
15 changed files with 31 additions and 19 deletions

View file

@ -1,4 +1,4 @@
// This file was generated by gir (531f8d9) from gir-files (???)
// This file was generated by gir (33e9567) from gir-files (???)
// DO NOT EDIT
pub type ClockTime = u64;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (531f8d9) from gir-files (???)
// This file was generated by gir (33e9567) from gir-files (???)
// DO NOT EDIT
use Element;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (531f8d9) from gir-files (???)
// This file was generated by gir (33e9567) from gir-files (???)
// DO NOT EDIT
use Object;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (531f8d9) from gir-files (???)
// This file was generated by gir (33e9567) from gir-files (???)
// DO NOT EDIT
use ClockTime;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (531f8d9) from gir-files (???)
// This file was generated by gir (33e9567) from gir-files (???)
// DO NOT EDIT
use Bus;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (531f8d9) from gir-files (???)
// This file was generated by gir (33e9567) from gir-files (???)
// DO NOT EDIT
use Element;
@ -42,6 +42,9 @@ impl ElementFactory {
}
}
unsafe impl Send for ElementFactory {}
unsafe impl Sync for ElementFactory {}
pub trait ElementFactoryExt {
//fn can_sink_all_caps(&self, caps: /*Ignored*/&Caps) -> bool;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (531f8d9) from gir-files (???)
// This file was generated by gir (33e9567) from gir-files (???)
// DO NOT EDIT
use ffi;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (531f8d9) from gir-files (???)
// This file was generated by gir (33e9567) from gir-files (???)
// DO NOT EDIT
use ffi;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (531f8d9) from gir-files (???)
// This file was generated by gir (33e9567) from gir-files (???)
// DO NOT EDIT
use Bin;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (531f8d9) from gir-files (???)
// This file was generated by gir (33e9567) from gir-files (???)
// DO NOT EDIT
mod bin;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (531f8d9) from gir-files (???)
// This file was generated by gir (33e9567) from gir-files (???)
// DO NOT EDIT
use ClockTime;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (531f8d9) from gir-files (???)
// This file was generated by gir (33e9567) from gir-files (???)
// DO NOT EDIT
use Element;

View file

@ -1,4 +1,4 @@
// This file was generated by gir (531f8d9) from gir-files (???)
// This file was generated by gir (33e9567) from gir-files (???)
// DO NOT EDIT
use Object;
@ -30,6 +30,9 @@ impl PadTemplate {
//}
}
unsafe impl Send for PadTemplate {}
unsafe impl Sync for PadTemplate {}
pub trait PadTemplateExt {
//fn get_caps(&self) -> /*Ignored*/Option<Caps>;
@ -41,7 +44,7 @@ pub trait PadTemplateExt {
//fn get_property_presence(&self) -> /*Ignored*/PadPresence;
fn connect_pad_created<F: Fn(&Self, &Pad) + 'static>(&self, f: F) -> u64;
fn connect_pad_created<F: Fn(&Self, &Pad) + Send + Sync + 'static>(&self, f: F) -> u64;
}
impl<O: IsA<PadTemplate> + IsA<glib::object::Object>> PadTemplateExt for O {
@ -79,9 +82,9 @@ impl<O: IsA<PadTemplate> + IsA<glib::object::Object>> PadTemplateExt for O {
// }
//}
fn connect_pad_created<F: Fn(&Self, &Pad) + 'static>(&self, f: F) -> u64 {
fn connect_pad_created<F: Fn(&Self, &Pad) + Send + Sync + 'static>(&self, f: F) -> u64 {
unsafe {
let f: Box_<Box_<Fn(&Self, &Pad) + 'static>> = Box_::new(Box_::new(f));
let f: Box_<Box_<Fn(&Self, &Pad) + Send + Sync + 'static>> = Box_::new(Box_::new(f));
connect(self.to_glib_none().0, "pad-created",
transmute(pad_created_trampoline::<Self> as usize), Box_::into_raw(f) as *mut _)
}
@ -91,6 +94,6 @@ impl<O: IsA<PadTemplate> + IsA<glib::object::Object>> PadTemplateExt for O {
unsafe extern "C" fn pad_created_trampoline<P>(this: *mut ffi::GstPadTemplate, pad: *mut ffi::GstPad, f: glib_ffi::gpointer)
where P: IsA<PadTemplate> {
callback_guard!();
let f: &Box_<Fn(&P, &Pad) + 'static> = transmute(f);
let f: &Box_<Fn(&P, &Pad) + Send + Sync + 'static> = transmute(f);
f(&PadTemplate::from_glib_none(this).downcast_unchecked(), &from_glib_none(pad))
}

View file

@ -1,4 +1,4 @@
// This file was generated by gir (531f8d9) from gir-files (???)
// This file was generated by gir (33e9567) from gir-files (???)
// DO NOT EDIT
use Bin;
@ -29,6 +29,9 @@ impl Pipeline {
}
}
unsafe impl Send for Pipeline {}
unsafe impl Sync for Pipeline {}
pub trait PipelineExt {
fn auto_clock(&self);

View file

@ -1,4 +1,4 @@
// This file was generated by gir (531f8d9) from gir-files (???)
// This file was generated by gir (33e9567) from gir-files (???)
// DO NOT EDIT
use Error;
@ -16,6 +16,9 @@ glib_wrapper! {
}
}
unsafe impl Send for URIHandler {}
unsafe impl Sync for URIHandler {}
pub trait URIHandlerExt {
fn get_protocols(&self) -> Vec<String>;