Commit b14f0278 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

Regenerate everything with latest gir

parent 771b5c80
// 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;
......
// 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;
......
// 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;
......
// 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;
......
// 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;
......
// 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;
......
// 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;
......
// 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;
......
// 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;
......
// 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;
......
// 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;
......
// 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;
......
// 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))
}
// 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);
......
// 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>;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment