From b14f0278c18bf295fca6e43212406959a81523ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 29 Jun 2017 09:02:08 +0300 Subject: [PATCH] Regenerate everything with latest gir --- gstreamer/src/auto/alias.rs | 2 +- gstreamer/src/auto/bin.rs | 2 +- gstreamer/src/auto/bus.rs | 2 +- gstreamer/src/auto/clock.rs | 2 +- gstreamer/src/auto/element.rs | 2 +- gstreamer/src/auto/element_factory.rs | 5 ++++- gstreamer/src/auto/enums.rs | 2 +- gstreamer/src/auto/flags.rs | 2 +- gstreamer/src/auto/functions.rs | 2 +- gstreamer/src/auto/mod.rs | 2 +- gstreamer/src/auto/object.rs | 2 +- gstreamer/src/auto/pad.rs | 2 +- gstreamer/src/auto/pad_template.rs | 13 ++++++++----- gstreamer/src/auto/pipeline.rs | 5 ++++- gstreamer/src/auto/u_r_i_handler.rs | 5 ++++- 15 files changed, 31 insertions(+), 19 deletions(-) diff --git a/gstreamer/src/auto/alias.rs b/gstreamer/src/auto/alias.rs index ccfa7d068..a886f120c 100644 --- a/gstreamer/src/auto/alias.rs +++ b/gstreamer/src/auto/alias.rs @@ -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; diff --git a/gstreamer/src/auto/bin.rs b/gstreamer/src/auto/bin.rs index 0ed783646..fc13f0511 100644 --- a/gstreamer/src/auto/bin.rs +++ b/gstreamer/src/auto/bin.rs @@ -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; diff --git a/gstreamer/src/auto/bus.rs b/gstreamer/src/auto/bus.rs index 89414ace3..7adec9dbd 100644 --- a/gstreamer/src/auto/bus.rs +++ b/gstreamer/src/auto/bus.rs @@ -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; diff --git a/gstreamer/src/auto/clock.rs b/gstreamer/src/auto/clock.rs index 87e17ca48..6be7ea168 100644 --- a/gstreamer/src/auto/clock.rs +++ b/gstreamer/src/auto/clock.rs @@ -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; diff --git a/gstreamer/src/auto/element.rs b/gstreamer/src/auto/element.rs index 5af9387be..1086bc6c8 100644 --- a/gstreamer/src/auto/element.rs +++ b/gstreamer/src/auto/element.rs @@ -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; diff --git a/gstreamer/src/auto/element_factory.rs b/gstreamer/src/auto/element_factory.rs index c40c907df..3b2d4c796 100644 --- a/gstreamer/src/auto/element_factory.rs +++ b/gstreamer/src/auto/element_factory.rs @@ -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; diff --git a/gstreamer/src/auto/enums.rs b/gstreamer/src/auto/enums.rs index f964c2249..331befa52 100644 --- a/gstreamer/src/auto/enums.rs +++ b/gstreamer/src/auto/enums.rs @@ -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; diff --git a/gstreamer/src/auto/flags.rs b/gstreamer/src/auto/flags.rs index 93ba373a1..e79a0220d 100644 --- a/gstreamer/src/auto/flags.rs +++ b/gstreamer/src/auto/flags.rs @@ -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; diff --git a/gstreamer/src/auto/functions.rs b/gstreamer/src/auto/functions.rs index 4e52a7f61..1ee2481aa 100644 --- a/gstreamer/src/auto/functions.rs +++ b/gstreamer/src/auto/functions.rs @@ -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; diff --git a/gstreamer/src/auto/mod.rs b/gstreamer/src/auto/mod.rs index 55252c28b..008198c43 100644 --- a/gstreamer/src/auto/mod.rs +++ b/gstreamer/src/auto/mod.rs @@ -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; diff --git a/gstreamer/src/auto/object.rs b/gstreamer/src/auto/object.rs index 693a4f035..e898f8cb2 100644 --- a/gstreamer/src/auto/object.rs +++ b/gstreamer/src/auto/object.rs @@ -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; diff --git a/gstreamer/src/auto/pad.rs b/gstreamer/src/auto/pad.rs index f898a5a0e..07972778b 100644 --- a/gstreamer/src/auto/pad.rs +++ b/gstreamer/src/auto/pad.rs @@ -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; diff --git a/gstreamer/src/auto/pad_template.rs b/gstreamer/src/auto/pad_template.rs index f287a459f..dc731aad6 100644 --- a/gstreamer/src/auto/pad_template.rs +++ b/gstreamer/src/auto/pad_template.rs @@ -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; @@ -41,7 +44,7 @@ pub trait PadTemplateExt { //fn get_property_presence(&self) -> /*Ignored*/PadPresence; - fn connect_pad_created(&self, f: F) -> u64; + fn connect_pad_created(&self, f: F) -> u64; } impl + IsA> PadTemplateExt for O { @@ -79,9 +82,9 @@ impl + IsA> PadTemplateExt for O { // } //} - fn connect_pad_created(&self, f: F) -> u64 { + fn connect_pad_created(&self, f: F) -> u64 { unsafe { - let f: Box_> = Box_::new(Box_::new(f)); + let f: Box_> = Box_::new(Box_::new(f)); connect(self.to_glib_none().0, "pad-created", transmute(pad_created_trampoline:: as usize), Box_::into_raw(f) as *mut _) } @@ -91,6 +94,6 @@ impl + IsA> PadTemplateExt for O { unsafe extern "C" fn pad_created_trampoline

(this: *mut ffi::GstPadTemplate, pad: *mut ffi::GstPad, f: glib_ffi::gpointer) where P: IsA { callback_guard!(); - let f: &Box_ = transmute(f); + let f: &Box_ = transmute(f); f(&PadTemplate::from_glib_none(this).downcast_unchecked(), &from_glib_none(pad)) } diff --git a/gstreamer/src/auto/pipeline.rs b/gstreamer/src/auto/pipeline.rs index 829e1fa79..622bc51c9 100644 --- a/gstreamer/src/auto/pipeline.rs +++ b/gstreamer/src/auto/pipeline.rs @@ -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); diff --git a/gstreamer/src/auto/u_r_i_handler.rs b/gstreamer/src/auto/u_r_i_handler.rs index 45ec6699f..a1d8b0990 100644 --- a/gstreamer/src/auto/u_r_i_handler.rs +++ b/gstreamer/src/auto/u_r_i_handler.rs @@ -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;