diff --git a/gir b/gir index 88c650eb2..de679ce5e 160000 --- a/gir +++ b/gir @@ -1 +1 @@ -Subproject commit 88c650eb2f0d906feb4cd7ea46ea699d5cc17472 +Subproject commit de679ce5e7c26674ad788084227ec52f03f1df59 diff --git a/gstreamer-app/src/auto/app_sink.rs b/gstreamer-app/src/auto/app_sink.rs index 4d943ffad..ad336762d 100644 --- a/gstreamer-app/src/auto/app_sink.rs +++ b/gstreamer-app/src/auto/app_sink.rs @@ -187,7 +187,7 @@ impl AppSink { } #[doc(alias = "eos")] - pub fn connect_eos(&self, f: F) -> SignalHandlerId { + pub fn connect_eos(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn eos_trampoline( this: *mut ffi::GstAppSink, f: glib::ffi::gpointer, @@ -210,7 +210,7 @@ impl AppSink { #[doc(alias = "new-preroll")] pub fn connect_new_preroll< - F: Fn(&AppSink) -> Result + Send + 'static, + F: Fn(&Self) -> Result + Send + 'static, >( &self, f: F, @@ -239,7 +239,7 @@ impl AppSink { #[doc(alias = "new-sample")] pub fn connect_new_sample< - F: Fn(&AppSink) -> Result + Send + 'static, + F: Fn(&Self) -> Result + Send + 'static, >( &self, f: F, @@ -267,7 +267,7 @@ impl AppSink { } #[doc(alias = "buffer-list")] - pub fn connect_buffer_list_notify( + pub fn connect_buffer_list_notify( &self, f: F, ) -> SignalHandlerId { @@ -295,7 +295,7 @@ impl AppSink { } #[doc(alias = "caps")] - pub fn connect_caps_notify( + pub fn connect_caps_notify( &self, f: F, ) -> SignalHandlerId { @@ -321,7 +321,7 @@ impl AppSink { } #[doc(alias = "drop")] - pub fn connect_drop_notify( + pub fn connect_drop_notify( &self, f: F, ) -> SignalHandlerId { @@ -347,7 +347,7 @@ impl AppSink { } #[doc(alias = "emit-signals")] - pub fn connect_emit_signals_notify( + pub fn connect_emit_signals_notify( &self, f: F, ) -> SignalHandlerId { @@ -375,7 +375,7 @@ impl AppSink { } #[doc(alias = "eos")] - pub fn connect_eos_notify( + pub fn connect_eos_notify( &self, f: F, ) -> SignalHandlerId { @@ -401,7 +401,7 @@ impl AppSink { } #[doc(alias = "max-buffers")] - pub fn connect_max_buffers_notify( + pub fn connect_max_buffers_notify( &self, f: F, ) -> SignalHandlerId { @@ -429,7 +429,7 @@ impl AppSink { } #[doc(alias = "wait-on-eos")] - pub fn connect_wait_on_eos_notify( + pub fn connect_wait_on_eos_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-app/src/auto/app_src.rs b/gstreamer-app/src/auto/app_src.rs index cf777de22..7db91120a 100644 --- a/gstreamer-app/src/auto/app_src.rs +++ b/gstreamer-app/src/auto/app_src.rs @@ -313,7 +313,7 @@ impl AppSrc { } #[doc(alias = "enough-data")] - pub fn connect_enough_data( + pub fn connect_enough_data( &self, f: F, ) -> SignalHandlerId { @@ -338,7 +338,7 @@ impl AppSrc { } #[doc(alias = "need-data")] - pub fn connect_need_data( + pub fn connect_need_data( &self, f: F, ) -> SignalHandlerId { @@ -364,7 +364,7 @@ impl AppSrc { } #[doc(alias = "seek-data")] - pub fn connect_seek_data bool + Send + Sync + 'static>( + pub fn connect_seek_data bool + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId { @@ -392,7 +392,7 @@ impl AppSrc { } #[doc(alias = "block")] - pub fn connect_block_notify( + pub fn connect_block_notify( &self, f: F, ) -> SignalHandlerId { @@ -418,7 +418,7 @@ impl AppSrc { } #[doc(alias = "caps")] - pub fn connect_caps_notify( + pub fn connect_caps_notify( &self, f: F, ) -> SignalHandlerId { @@ -444,7 +444,7 @@ impl AppSrc { } #[doc(alias = "current-level-bytes")] - pub fn connect_current_level_bytes_notify( + pub fn connect_current_level_bytes_notify( &self, f: F, ) -> SignalHandlerId { @@ -474,7 +474,7 @@ impl AppSrc { #[cfg(any(feature = "v1_10", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))] #[doc(alias = "duration")] - pub fn connect_duration_notify( + pub fn connect_duration_notify( &self, f: F, ) -> SignalHandlerId { @@ -500,7 +500,7 @@ impl AppSrc { } #[doc(alias = "emit-signals")] - pub fn connect_emit_signals_notify( + pub fn connect_emit_signals_notify( &self, f: F, ) -> SignalHandlerId { @@ -528,7 +528,7 @@ impl AppSrc { } #[doc(alias = "format")] - pub fn connect_format_notify( + pub fn connect_format_notify( &self, f: F, ) -> SignalHandlerId { @@ -556,7 +556,7 @@ impl AppSrc { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "handle-segment-change")] - pub fn connect_handle_segment_change_notify( + pub fn connect_handle_segment_change_notify( &self, f: F, ) -> SignalHandlerId { @@ -584,7 +584,7 @@ impl AppSrc { } #[doc(alias = "is-live")] - pub fn connect_is_live_notify( + pub fn connect_is_live_notify( &self, f: F, ) -> SignalHandlerId { @@ -610,7 +610,7 @@ impl AppSrc { } #[doc(alias = "max-bytes")] - pub fn connect_max_bytes_notify( + pub fn connect_max_bytes_notify( &self, f: F, ) -> SignalHandlerId { @@ -636,7 +636,7 @@ impl AppSrc { } #[doc(alias = "max-latency")] - pub fn connect_max_latency_notify( + pub fn connect_max_latency_notify( &self, f: F, ) -> SignalHandlerId { @@ -664,7 +664,7 @@ impl AppSrc { } #[doc(alias = "min-latency")] - pub fn connect_min_latency_notify( + pub fn connect_min_latency_notify( &self, f: F, ) -> SignalHandlerId { @@ -692,7 +692,7 @@ impl AppSrc { } #[doc(alias = "min-percent")] - pub fn connect_min_percent_notify( + pub fn connect_min_percent_notify( &self, f: F, ) -> SignalHandlerId { @@ -720,7 +720,7 @@ impl AppSrc { } #[doc(alias = "size")] - pub fn connect_size_notify( + pub fn connect_size_notify( &self, f: F, ) -> SignalHandlerId { @@ -746,7 +746,7 @@ impl AppSrc { } #[doc(alias = "stream-type")] - pub fn connect_stream_type_notify( + pub fn connect_stream_type_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-app/src/auto/versions.txt b/gstreamer-app/src/auto/versions.txt index 524f5becf..81256bc01 100644 --- a/gstreamer-app/src/auto/versions.txt +++ b/gstreamer-app/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +Generated by gir (https://github.com/gtk-rs/gir @ de679ce) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-app/sys/build.rs b/gstreamer-app/sys/build.rs index 9642c8d86..1eecb687a 100644 --- a/gstreamer-app/sys/build.rs +++ b/gstreamer-app/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-app/sys/src/lib.rs b/gstreamer-app/sys/src/lib.rs index efe4a84bd..8f62b6c2e 100644 --- a/gstreamer-app/sys/src/lib.rs +++ b/gstreamer-app/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-app/sys/tests/abi.rs b/gstreamer-app/sys/tests/abi.rs index ea3343789..821044821 100644 --- a/gstreamer-app/sys/tests/abi.rs +++ b/gstreamer-app/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-app/sys/tests/constant.c b/gstreamer-app/sys/tests/constant.c index 035250a77..c9d699ed1 100644 --- a/gstreamer-app/sys/tests/constant.c +++ b/gstreamer-app/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-app/sys/tests/layout.c b/gstreamer-app/sys/tests/layout.c index a6a10e5ad..1d7ed26b0 100644 --- a/gstreamer-app/sys/tests/layout.c +++ b/gstreamer-app/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-audio/src/auto/audio_base_sink.rs b/gstreamer-audio/src/auto/audio_base_sink.rs index 1cdf9bfa1..7f1f32c6c 100644 --- a/gstreamer-audio/src/auto/audio_base_sink.rs +++ b/gstreamer-audio/src/auto/audio_base_sink.rs @@ -303,15 +303,13 @@ impl> AudioBaseSinkExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn notify_alignment_threshold_trampoline< - P, + P: IsA, F: Fn(&P) + Send + Sync + 'static, >( this: *mut ffi::GstAudioBaseSink, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&AudioBaseSink::from_glib_borrow(this).unsafe_cast_ref()) } @@ -333,13 +331,14 @@ impl> AudioBaseSinkExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_buffer_time_trampoline( + unsafe extern "C" fn notify_buffer_time_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstAudioBaseSink, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&AudioBaseSink::from_glib_borrow(this).unsafe_cast_ref()) } @@ -362,15 +361,13 @@ impl> AudioBaseSinkExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn notify_can_activate_pull_trampoline< - P, + P: IsA, F: Fn(&P) + Send + Sync + 'static, >( this: *mut ffi::GstAudioBaseSink, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&AudioBaseSink::from_glib_borrow(this).unsafe_cast_ref()) } @@ -392,13 +389,14 @@ impl> AudioBaseSinkExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_discont_wait_trampoline( + unsafe extern "C" fn notify_discont_wait_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstAudioBaseSink, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&AudioBaseSink::from_glib_borrow(this).unsafe_cast_ref()) } @@ -421,15 +419,13 @@ impl> AudioBaseSinkExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn notify_drift_tolerance_trampoline< - P, + P: IsA, F: Fn(&P) + Send + Sync + 'static, >( this: *mut ffi::GstAudioBaseSink, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&AudioBaseSink::from_glib_borrow(this).unsafe_cast_ref()) } @@ -451,13 +447,14 @@ impl> AudioBaseSinkExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_latency_time_trampoline( + unsafe extern "C" fn notify_latency_time_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstAudioBaseSink, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&AudioBaseSink::from_glib_borrow(this).unsafe_cast_ref()) } @@ -479,13 +476,14 @@ impl> AudioBaseSinkExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_provide_clock_trampoline( + unsafe extern "C" fn notify_provide_clock_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstAudioBaseSink, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&AudioBaseSink::from_glib_borrow(this).unsafe_cast_ref()) } @@ -507,13 +505,14 @@ impl> AudioBaseSinkExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_slave_method_trampoline( + unsafe extern "C" fn notify_slave_method_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstAudioBaseSink, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&AudioBaseSink::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer-audio/src/auto/audio_base_src.rs b/gstreamer-audio/src/auto/audio_base_src.rs index 07b4bb85e..815e39388 100644 --- a/gstreamer-audio/src/auto/audio_base_src.rs +++ b/gstreamer-audio/src/auto/audio_base_src.rs @@ -211,15 +211,13 @@ impl> AudioBaseSrcExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn notify_actual_buffer_time_trampoline< - P, + P: IsA, F: Fn(&P) + Send + Sync + 'static, >( this: *mut ffi::GstAudioBaseSrc, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&AudioBaseSrc::from_glib_borrow(this).unsafe_cast_ref()) } @@ -242,15 +240,13 @@ impl> AudioBaseSrcExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn notify_actual_latency_time_trampoline< - P, + P: IsA, F: Fn(&P) + Send + Sync + 'static, >( this: *mut ffi::GstAudioBaseSrc, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&AudioBaseSrc::from_glib_borrow(this).unsafe_cast_ref()) } @@ -272,13 +268,14 @@ impl> AudioBaseSrcExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_buffer_time_trampoline( + unsafe extern "C" fn notify_buffer_time_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstAudioBaseSrc, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&AudioBaseSrc::from_glib_borrow(this).unsafe_cast_ref()) } @@ -300,13 +297,14 @@ impl> AudioBaseSrcExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_latency_time_trampoline( + unsafe extern "C" fn notify_latency_time_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstAudioBaseSrc, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&AudioBaseSrc::from_glib_borrow(this).unsafe_cast_ref()) } @@ -328,13 +326,14 @@ impl> AudioBaseSrcExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_provide_clock_trampoline( + unsafe extern "C" fn notify_provide_clock_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstAudioBaseSrc, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&AudioBaseSrc::from_glib_borrow(this).unsafe_cast_ref()) } @@ -356,13 +355,14 @@ impl> AudioBaseSrcExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_slave_method_trampoline( + unsafe extern "C" fn notify_slave_method_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstAudioBaseSrc, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&AudioBaseSrc::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer-audio/src/auto/audio_decoder.rs b/gstreamer-audio/src/auto/audio_decoder.rs index 0e89419b8..386bfe230 100644 --- a/gstreamer-audio/src/auto/audio_decoder.rs +++ b/gstreamer-audio/src/auto/audio_decoder.rs @@ -365,13 +365,14 @@ impl> AudioDecoderExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_max_errors_trampoline( + unsafe extern "C" fn notify_max_errors_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstAudioDecoder, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&AudioDecoder::from_glib_borrow(this).unsafe_cast_ref()) } @@ -393,13 +394,14 @@ impl> AudioDecoderExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_min_latency_trampoline( + unsafe extern "C" fn notify_min_latency_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstAudioDecoder, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&AudioDecoder::from_glib_borrow(this).unsafe_cast_ref()) } @@ -418,13 +420,14 @@ impl> AudioDecoderExt for O { #[doc(alias = "plc")] fn connect_plc_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_plc_trampoline( + unsafe extern "C" fn notify_plc_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstAudioDecoder, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&AudioDecoder::from_glib_borrow(this).unsafe_cast_ref()) } @@ -446,13 +449,14 @@ impl> AudioDecoderExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_tolerance_trampoline( + unsafe extern "C" fn notify_tolerance_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstAudioDecoder, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&AudioDecoder::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer-audio/src/auto/audio_encoder.rs b/gstreamer-audio/src/auto/audio_encoder.rs index c2b31158d..0f877e404 100644 --- a/gstreamer-audio/src/auto/audio_encoder.rs +++ b/gstreamer-audio/src/auto/audio_encoder.rs @@ -361,13 +361,14 @@ impl> AudioEncoderExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_hard_resync_trampoline( + unsafe extern "C" fn notify_hard_resync_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstAudioEncoder, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&AudioEncoder::from_glib_borrow(this).unsafe_cast_ref()) } @@ -389,13 +390,14 @@ impl> AudioEncoderExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_mark_granule_trampoline( + unsafe extern "C" fn notify_mark_granule_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstAudioEncoder, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&AudioEncoder::from_glib_borrow(this).unsafe_cast_ref()) } @@ -418,15 +420,13 @@ impl> AudioEncoderExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn notify_perfect_timestamp_trampoline< - P, + P: IsA, F: Fn(&P) + Send + Sync + 'static, >( this: *mut ffi::GstAudioEncoder, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&AudioEncoder::from_glib_borrow(this).unsafe_cast_ref()) } @@ -448,13 +448,14 @@ impl> AudioEncoderExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_tolerance_trampoline( + unsafe extern "C" fn notify_tolerance_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstAudioEncoder, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&AudioEncoder::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer-audio/src/auto/stream_volume.rs b/gstreamer-audio/src/auto/stream_volume.rs index d3800a8a3..dd82169ce 100644 --- a/gstreamer-audio/src/auto/stream_volume.rs +++ b/gstreamer-audio/src/auto/stream_volume.rs @@ -88,13 +88,14 @@ impl> StreamVolumeExt for O { #[doc(alias = "mute")] fn connect_mute_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_mute_trampoline( + unsafe extern "C" fn notify_mute_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstStreamVolume, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&StreamVolume::from_glib_borrow(this).unsafe_cast_ref()) } @@ -113,13 +114,14 @@ impl> StreamVolumeExt for O { #[doc(alias = "volume")] fn connect_volume_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_volume_trampoline( + unsafe extern "C" fn notify_volume_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstStreamVolume, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&StreamVolume::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer-audio/src/auto/versions.txt b/gstreamer-audio/src/auto/versions.txt index 524f5becf..81256bc01 100644 --- a/gstreamer-audio/src/auto/versions.txt +++ b/gstreamer-audio/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +Generated by gir (https://github.com/gtk-rs/gir @ de679ce) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-audio/sys/build.rs b/gstreamer-audio/sys/build.rs index 9642c8d86..1eecb687a 100644 --- a/gstreamer-audio/sys/build.rs +++ b/gstreamer-audio/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-audio/sys/src/lib.rs b/gstreamer-audio/sys/src/lib.rs index 1c7b5175e..bec1bb2af 100644 --- a/gstreamer-audio/sys/src/lib.rs +++ b/gstreamer-audio/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-audio/sys/tests/abi.rs b/gstreamer-audio/sys/tests/abi.rs index 2ad4333e0..6b8e38659 100644 --- a/gstreamer-audio/sys/tests/abi.rs +++ b/gstreamer-audio/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-audio/sys/tests/constant.c b/gstreamer-audio/sys/tests/constant.c index 96fb64408..9eff0d737 100644 --- a/gstreamer-audio/sys/tests/constant.c +++ b/gstreamer-audio/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-audio/sys/tests/layout.c b/gstreamer-audio/sys/tests/layout.c index 2717d8224..279894ceb 100644 --- a/gstreamer-audio/sys/tests/layout.c +++ b/gstreamer-audio/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-base/src/auto/aggregator.rs b/gstreamer-base/src/auto/aggregator.rs index 2552b70b2..31884da82 100644 --- a/gstreamer-base/src/auto/aggregator.rs +++ b/gstreamer-base/src/auto/aggregator.rs @@ -300,13 +300,14 @@ impl> AggregatorExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_emit_signals_trampoline( + unsafe extern "C" fn notify_emit_signals_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstAggregator, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&Aggregator::from_glib_borrow(this).unsafe_cast_ref()) } @@ -330,13 +331,14 @@ impl> AggregatorExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_latency_trampoline( + unsafe extern "C" fn notify_latency_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstAggregator, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&Aggregator::from_glib_borrow(this).unsafe_cast_ref()) } @@ -358,13 +360,14 @@ impl> AggregatorExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_start_time_trampoline( + unsafe extern "C" fn notify_start_time_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstAggregator, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&Aggregator::from_glib_borrow(this).unsafe_cast_ref()) } @@ -389,15 +392,13 @@ impl> AggregatorExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn notify_start_time_selection_trampoline< - P, + P: IsA, F: Fn(&P) + Send + Sync + 'static, >( this: *mut ffi::GstAggregator, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&Aggregator::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer-base/src/auto/aggregator_pad.rs b/gstreamer-base/src/auto/aggregator_pad.rs index 52a84c0b3..f244eaefa 100644 --- a/gstreamer-base/src/auto/aggregator_pad.rs +++ b/gstreamer-base/src/auto/aggregator_pad.rs @@ -150,15 +150,13 @@ impl> AggregatorPadExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn buffer_consumed_trampoline< - P, + P: IsA, F: Fn(&P, &gst::Buffer) + Send + Sync + 'static, >( this: *mut ffi::GstAggregatorPad, object: *mut gst::ffi::GstBuffer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &AggregatorPad::from_glib_borrow(this).unsafe_cast_ref(), @@ -185,13 +183,14 @@ impl> AggregatorPadExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_emit_signals_trampoline( + unsafe extern "C" fn notify_emit_signals_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstAggregatorPad, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&AggregatorPad::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer-base/src/auto/base_parse.rs b/gstreamer-base/src/auto/base_parse.rs index e86add6ca..9446387fb 100644 --- a/gstreamer-base/src/auto/base_parse.rs +++ b/gstreamer-base/src/auto/base_parse.rs @@ -206,15 +206,13 @@ impl> BaseParseExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn notify_disable_passthrough_trampoline< - P, + P: IsA, F: Fn(&P) + Send + Sync + 'static, >( this: *mut ffi::GstBaseParse, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&BaseParse::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer-base/src/auto/base_sink.rs b/gstreamer-base/src/auto/base_sink.rs index c3351c407..5a372b33e 100644 --- a/gstreamer-base/src/auto/base_sink.rs +++ b/gstreamer-base/src/auto/base_sink.rs @@ -545,13 +545,14 @@ impl> BaseSinkExt for O { #[doc(alias = "async")] fn connect_async_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_async_trampoline( + unsafe extern "C" fn notify_async_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstBaseSink, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&BaseSink::from_glib_borrow(this).unsafe_cast_ref()) } @@ -573,13 +574,14 @@ impl> BaseSinkExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_blocksize_trampoline( + unsafe extern "C" fn notify_blocksize_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstBaseSink, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&BaseSink::from_glib_borrow(this).unsafe_cast_ref()) } @@ -602,15 +604,13 @@ impl> BaseSinkExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn notify_enable_last_sample_trampoline< - P, + P: IsA, F: Fn(&P) + Send + Sync + 'static, >( this: *mut ffi::GstBaseSink, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&BaseSink::from_glib_borrow(this).unsafe_cast_ref()) } @@ -632,13 +632,14 @@ impl> BaseSinkExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_last_sample_trampoline( + unsafe extern "C" fn notify_last_sample_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstBaseSink, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&BaseSink::from_glib_borrow(this).unsafe_cast_ref()) } @@ -660,13 +661,14 @@ impl> BaseSinkExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_max_bitrate_trampoline( + unsafe extern "C" fn notify_max_bitrate_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstBaseSink, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&BaseSink::from_glib_borrow(this).unsafe_cast_ref()) } @@ -688,13 +690,14 @@ impl> BaseSinkExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_max_lateness_trampoline( + unsafe extern "C" fn notify_max_lateness_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstBaseSink, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&BaseSink::from_glib_borrow(this).unsafe_cast_ref()) } @@ -719,15 +722,13 @@ impl> BaseSinkExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn notify_processing_deadline_trampoline< - P, + P: IsA, F: Fn(&P) + Send + Sync + 'static, >( this: *mut ffi::GstBaseSink, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&BaseSink::from_glib_borrow(this).unsafe_cast_ref()) } @@ -746,13 +747,14 @@ impl> BaseSinkExt for O { #[doc(alias = "qos")] fn connect_qos_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_qos_trampoline( + unsafe extern "C" fn notify_qos_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstBaseSink, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&BaseSink::from_glib_borrow(this).unsafe_cast_ref()) } @@ -774,13 +776,14 @@ impl> BaseSinkExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_render_delay_trampoline( + unsafe extern "C" fn notify_render_delay_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstBaseSink, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&BaseSink::from_glib_borrow(this).unsafe_cast_ref()) } @@ -801,13 +804,14 @@ impl> BaseSinkExt for O { #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "stats")] fn connect_stats_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_stats_trampoline( + unsafe extern "C" fn notify_stats_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstBaseSink, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&BaseSink::from_glib_borrow(this).unsafe_cast_ref()) } @@ -826,13 +830,14 @@ impl> BaseSinkExt for O { #[doc(alias = "sync")] fn connect_sync_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_sync_trampoline( + unsafe extern "C" fn notify_sync_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstBaseSink, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&BaseSink::from_glib_borrow(this).unsafe_cast_ref()) } @@ -854,13 +859,14 @@ impl> BaseSinkExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_throttle_time_trampoline( + unsafe extern "C" fn notify_throttle_time_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstBaseSink, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&BaseSink::from_glib_borrow(this).unsafe_cast_ref()) } @@ -882,13 +888,14 @@ impl> BaseSinkExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_ts_offset_trampoline( + unsafe extern "C" fn notify_ts_offset_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstBaseSink, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&BaseSink::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer-base/src/auto/base_src.rs b/gstreamer-base/src/auto/base_src.rs index d5da38deb..4414a9226 100644 --- a/gstreamer-base/src/auto/base_src.rs +++ b/gstreamer-base/src/auto/base_src.rs @@ -307,13 +307,14 @@ impl> BaseSrcExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_blocksize_trampoline( + unsafe extern "C" fn notify_blocksize_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstBaseSrc, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&BaseSrc::from_glib_borrow(this).unsafe_cast_ref()) } @@ -335,13 +336,14 @@ impl> BaseSrcExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_do_timestamp_trampoline( + unsafe extern "C" fn notify_do_timestamp_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstBaseSrc, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&BaseSrc::from_glib_borrow(this).unsafe_cast_ref()) } @@ -363,13 +365,14 @@ impl> BaseSrcExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_num_buffers_trampoline( + unsafe extern "C" fn notify_num_buffers_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstBaseSrc, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&BaseSrc::from_glib_borrow(this).unsafe_cast_ref()) } @@ -391,13 +394,14 @@ impl> BaseSrcExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_typefind_trampoline( + unsafe extern "C" fn notify_typefind_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstBaseSrc, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&BaseSrc::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer-base/src/auto/base_transform.rs b/gstreamer-base/src/auto/base_transform.rs index c3566cdf9..f89653ae4 100644 --- a/gstreamer-base/src/auto/base_transform.rs +++ b/gstreamer-base/src/auto/base_transform.rs @@ -235,13 +235,14 @@ impl> BaseTransformExt for O { #[doc(alias = "qos")] fn connect_qos_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_qos_trampoline( + unsafe extern "C" fn notify_qos_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstBaseTransform, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&BaseTransform::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer-base/src/auto/versions.txt b/gstreamer-base/src/auto/versions.txt index 524f5becf..81256bc01 100644 --- a/gstreamer-base/src/auto/versions.txt +++ b/gstreamer-base/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +Generated by gir (https://github.com/gtk-rs/gir @ de679ce) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-base/sys/build.rs b/gstreamer-base/sys/build.rs index 9642c8d86..1eecb687a 100644 --- a/gstreamer-base/sys/build.rs +++ b/gstreamer-base/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-base/sys/src/lib.rs b/gstreamer-base/sys/src/lib.rs index 45be81101..1ef2cf1e4 100644 --- a/gstreamer-base/sys/src/lib.rs +++ b/gstreamer-base/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-base/sys/tests/abi.rs b/gstreamer-base/sys/tests/abi.rs index affe6ae19..04e890dfd 100644 --- a/gstreamer-base/sys/tests/abi.rs +++ b/gstreamer-base/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-base/sys/tests/constant.c b/gstreamer-base/sys/tests/constant.c index de0e3940f..77edbf78c 100644 --- a/gstreamer-base/sys/tests/constant.c +++ b/gstreamer-base/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-base/sys/tests/layout.c b/gstreamer-base/sys/tests/layout.c index 61b092a2f..2447e62e4 100644 --- a/gstreamer-base/sys/tests/layout.c +++ b/gstreamer-base/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-check/src/auto/test_clock.rs b/gstreamer-check/src/auto/test_clock.rs index 193aefe8d..2a6671f56 100644 --- a/gstreamer-check/src/auto/test_clock.rs +++ b/gstreamer-check/src/auto/test_clock.rs @@ -172,7 +172,7 @@ impl TestClock { //} #[doc(alias = "clock-type")] - pub fn connect_clock_type_notify( + pub fn connect_clock_type_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-check/src/auto/versions.txt b/gstreamer-check/src/auto/versions.txt index 524f5becf..81256bc01 100644 --- a/gstreamer-check/src/auto/versions.txt +++ b/gstreamer-check/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +Generated by gir (https://github.com/gtk-rs/gir @ de679ce) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-check/sys/build.rs b/gstreamer-check/sys/build.rs index 9642c8d86..1eecb687a 100644 --- a/gstreamer-check/sys/build.rs +++ b/gstreamer-check/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-check/sys/src/lib.rs b/gstreamer-check/sys/src/lib.rs index e56c98971..70eb79cc0 100644 --- a/gstreamer-check/sys/src/lib.rs +++ b/gstreamer-check/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-check/sys/tests/abi.rs b/gstreamer-check/sys/tests/abi.rs index 2227552c2..54385995b 100644 --- a/gstreamer-check/sys/tests/abi.rs +++ b/gstreamer-check/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-check/sys/tests/constant.c b/gstreamer-check/sys/tests/constant.c index 7f6ac9c5c..0159fcd39 100644 --- a/gstreamer-check/sys/tests/constant.c +++ b/gstreamer-check/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-check/sys/tests/layout.c b/gstreamer-check/sys/tests/layout.c index 6eebf9025..50ab272cc 100644 --- a/gstreamer-check/sys/tests/layout.c +++ b/gstreamer-check/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-controller/src/auto/argb_control_binding.rs b/gstreamer-controller/src/auto/argb_control_binding.rs index d7bdeb7be..30e99a02a 100644 --- a/gstreamer-controller/src/auto/argb_control_binding.rs +++ b/gstreamer-controller/src/auto/argb_control_binding.rs @@ -214,15 +214,13 @@ impl> ARGBControlBindingExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn notify_control_source_a_trampoline< - P, + P: IsA, F: Fn(&P) + Send + Sync + 'static, >( this: *mut ffi::GstARGBControlBinding, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&ARGBControlBinding::from_glib_borrow(this).unsafe_cast_ref()) } @@ -245,15 +243,13 @@ impl> ARGBControlBindingExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn notify_control_source_b_trampoline< - P, + P: IsA, F: Fn(&P) + Send + Sync + 'static, >( this: *mut ffi::GstARGBControlBinding, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&ARGBControlBinding::from_glib_borrow(this).unsafe_cast_ref()) } @@ -276,15 +272,13 @@ impl> ARGBControlBindingExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn notify_control_source_g_trampoline< - P, + P: IsA, F: Fn(&P) + Send + Sync + 'static, >( this: *mut ffi::GstARGBControlBinding, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&ARGBControlBinding::from_glib_borrow(this).unsafe_cast_ref()) } @@ -307,15 +301,13 @@ impl> ARGBControlBindingExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn notify_control_source_r_trampoline< - P, + P: IsA, F: Fn(&P) + Send + Sync + 'static, >( this: *mut ffi::GstARGBControlBinding, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&ARGBControlBinding::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer-controller/src/auto/direct_control_binding.rs b/gstreamer-controller/src/auto/direct_control_binding.rs index b3d6148e6..01d2f19b1 100644 --- a/gstreamer-controller/src/auto/direct_control_binding.rs +++ b/gstreamer-controller/src/auto/direct_control_binding.rs @@ -124,15 +124,13 @@ impl> DirectControlBindingExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn notify_control_source_trampoline< - P, + P: IsA, F: Fn(&P) + Send + Sync + 'static, >( this: *mut ffi::GstDirectControlBinding, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&DirectControlBinding::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer-controller/src/auto/interpolation_control_source.rs b/gstreamer-controller/src/auto/interpolation_control_source.rs index 991152fbd..3ed27773b 100644 --- a/gstreamer-controller/src/auto/interpolation_control_source.rs +++ b/gstreamer-controller/src/auto/interpolation_control_source.rs @@ -82,13 +82,14 @@ impl> InterpolationControlSourceExt for O { #[doc(alias = "mode")] fn connect_mode_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_mode_trampoline( + unsafe extern "C" fn notify_mode_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstInterpolationControlSource, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&InterpolationControlSource::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer-controller/src/auto/lfo_control_source.rs b/gstreamer-controller/src/auto/lfo_control_source.rs index 9d49efc94..97aade3fb 100644 --- a/gstreamer-controller/src/auto/lfo_control_source.rs +++ b/gstreamer-controller/src/auto/lfo_control_source.rs @@ -218,13 +218,14 @@ impl> LFOControlSourceExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_amplitude_trampoline( + unsafe extern "C" fn notify_amplitude_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstLFOControlSource, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&LFOControlSource::from_glib_borrow(this).unsafe_cast_ref()) } @@ -246,13 +247,14 @@ impl> LFOControlSourceExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_frequency_trampoline( + unsafe extern "C" fn notify_frequency_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstLFOControlSource, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&LFOControlSource::from_glib_borrow(this).unsafe_cast_ref()) } @@ -271,13 +273,14 @@ impl> LFOControlSourceExt for O { #[doc(alias = "offset")] fn connect_offset_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_offset_trampoline( + unsafe extern "C" fn notify_offset_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstLFOControlSource, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&LFOControlSource::from_glib_borrow(this).unsafe_cast_ref()) } @@ -299,13 +302,14 @@ impl> LFOControlSourceExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_timeshift_trampoline( + unsafe extern "C" fn notify_timeshift_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstLFOControlSource, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&LFOControlSource::from_glib_borrow(this).unsafe_cast_ref()) } @@ -327,13 +331,14 @@ impl> LFOControlSourceExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_waveform_trampoline( + unsafe extern "C" fn notify_waveform_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstLFOControlSource, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&LFOControlSource::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer-controller/src/auto/timed_value_control_source.rs b/gstreamer-controller/src/auto/timed_value_control_source.rs index d11418d11..b5e244f5d 100644 --- a/gstreamer-controller/src/auto/timed_value_control_source.rs +++ b/gstreamer-controller/src/auto/timed_value_control_source.rs @@ -116,15 +116,13 @@ impl> TimedValueControlSourceExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn value_added_trampoline< - P, + P: IsA, F: Fn(&P, &ControlPoint) + Send + Sync + 'static, >( this: *mut ffi::GstTimedValueControlSource, timed_value: *mut ffi::GstControlPoint, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &TimedValueControlSource::from_glib_borrow(this).unsafe_cast_ref(), @@ -150,15 +148,13 @@ impl> TimedValueControlSourceExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn value_changed_trampoline< - P, + P: IsA, F: Fn(&P, &ControlPoint) + Send + Sync + 'static, >( this: *mut ffi::GstTimedValueControlSource, timed_value: *mut ffi::GstControlPoint, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &TimedValueControlSource::from_glib_borrow(this).unsafe_cast_ref(), @@ -184,15 +180,13 @@ impl> TimedValueControlSourceExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn value_removed_trampoline< - P, + P: IsA, F: Fn(&P, &ControlPoint) + Send + Sync + 'static, >( this: *mut ffi::GstTimedValueControlSource, timed_value: *mut ffi::GstControlPoint, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &TimedValueControlSource::from_glib_borrow(this).unsafe_cast_ref(), diff --git a/gstreamer-controller/src/auto/trigger_control_source.rs b/gstreamer-controller/src/auto/trigger_control_source.rs index f21b44c08..17a38afec 100644 --- a/gstreamer-controller/src/auto/trigger_control_source.rs +++ b/gstreamer-controller/src/auto/trigger_control_source.rs @@ -85,13 +85,14 @@ impl> TriggerControlSourceExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_tolerance_trampoline( + unsafe extern "C" fn notify_tolerance_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstTriggerControlSource, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&TriggerControlSource::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer-controller/src/auto/versions.txt b/gstreamer-controller/src/auto/versions.txt index 524f5becf..81256bc01 100644 --- a/gstreamer-controller/src/auto/versions.txt +++ b/gstreamer-controller/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +Generated by gir (https://github.com/gtk-rs/gir @ de679ce) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-controller/sys/build.rs b/gstreamer-controller/sys/build.rs index 9642c8d86..1eecb687a 100644 --- a/gstreamer-controller/sys/build.rs +++ b/gstreamer-controller/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-controller/sys/src/lib.rs b/gstreamer-controller/sys/src/lib.rs index c23002147..bacb5f9ac 100644 --- a/gstreamer-controller/sys/src/lib.rs +++ b/gstreamer-controller/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-controller/sys/tests/abi.rs b/gstreamer-controller/sys/tests/abi.rs index c41410a83..d295765c8 100644 --- a/gstreamer-controller/sys/tests/abi.rs +++ b/gstreamer-controller/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-controller/sys/tests/constant.c b/gstreamer-controller/sys/tests/constant.c index feea1ea57..41584b859 100644 --- a/gstreamer-controller/sys/tests/constant.c +++ b/gstreamer-controller/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-controller/sys/tests/layout.c b/gstreamer-controller/sys/tests/layout.c index aa3feb65f..85cfe1c52 100644 --- a/gstreamer-controller/sys/tests/layout.c +++ b/gstreamer-controller/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-editing-services/src/auto/asset.rs b/gstreamer-editing-services/src/auto/asset.rs index 5bc8f5824..65e229a01 100644 --- a/gstreamer-editing-services/src/auto/asset.rs +++ b/gstreamer-editing-services/src/auto/asset.rs @@ -235,13 +235,11 @@ impl> AssetExt for O { #[doc(alias = "proxy")] fn connect_proxy_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_proxy_trampoline( + unsafe extern "C" fn notify_proxy_trampoline, F: Fn(&P) + 'static>( this: *mut ffi::GESAsset, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&Asset::from_glib_borrow(this).unsafe_cast_ref()) } @@ -260,13 +258,11 @@ impl> AssetExt for O { #[doc(alias = "proxy-target")] fn connect_proxy_target_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_proxy_target_trampoline( + unsafe extern "C" fn notify_proxy_target_trampoline, F: Fn(&P) + 'static>( this: *mut ffi::GESAsset, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&Asset::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer-editing-services/src/auto/clip.rs b/gstreamer-editing-services/src/auto/clip.rs index b92a74b07..9a76e4e67 100644 --- a/gstreamer-editing-services/src/auto/clip.rs +++ b/gstreamer-editing-services/src/auto/clip.rs @@ -529,13 +529,11 @@ impl> ClipExt for O { #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "duration-limit")] fn connect_duration_limit_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_duration_limit_trampoline( + unsafe extern "C" fn notify_duration_limit_trampoline, F: Fn(&P) + 'static>( this: *mut ffi::GESClip, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&Clip::from_glib_borrow(this).unsafe_cast_ref()) } @@ -554,13 +552,11 @@ impl> ClipExt for O { #[doc(alias = "layer")] fn connect_layer_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_layer_trampoline( + unsafe extern "C" fn notify_layer_trampoline, F: Fn(&P) + 'static>( this: *mut ffi::GESClip, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&Clip::from_glib_borrow(this).unsafe_cast_ref()) } @@ -579,13 +575,14 @@ impl> ClipExt for O { #[doc(alias = "supported-formats")] fn connect_supported_formats_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_supported_formats_trampoline( + unsafe extern "C" fn notify_supported_formats_trampoline< + P: IsA, + F: Fn(&P) + 'static, + >( this: *mut ffi::GESClip, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&Clip::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer-editing-services/src/auto/container.rs b/gstreamer-editing-services/src/auto/container.rs index 9785af103..3b89e12a3 100644 --- a/gstreamer-editing-services/src/auto/container.rs +++ b/gstreamer-editing-services/src/auto/container.rs @@ -163,13 +163,14 @@ impl> GESContainerExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn child_added_trampoline( + unsafe extern "C" fn child_added_trampoline< + P: IsA, + F: Fn(&P, &TimelineElement) + 'static, + >( this: *mut ffi::GESContainer, element: *mut ffi::GESTimelineElement, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &Container::from_glib_borrow(this).unsafe_cast_ref(), @@ -194,13 +195,14 @@ impl> GESContainerExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn child_removed_trampoline( + unsafe extern "C" fn child_removed_trampoline< + P: IsA, + F: Fn(&P, &TimelineElement) + 'static, + >( this: *mut ffi::GESContainer, element: *mut ffi::GESTimelineElement, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &Container::from_glib_borrow(this).unsafe_cast_ref(), @@ -222,13 +224,11 @@ impl> GESContainerExt for O { #[doc(alias = "height")] fn connect_height_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_height_trampoline( + unsafe extern "C" fn notify_height_trampoline, F: Fn(&P) + 'static>( this: *mut ffi::GESContainer, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&Container::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer-editing-services/src/auto/group.rs b/gstreamer-editing-services/src/auto/group.rs index 0e87fcf0c..3580d452f 100644 --- a/gstreamer-editing-services/src/auto/group.rs +++ b/gstreamer-editing-services/src/auto/group.rs @@ -204,13 +204,11 @@ impl> GroupExt for O { #[doc(alias = "duration")] fn connect_duration_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_duration_trampoline( + unsafe extern "C" fn notify_duration_trampoline, F: Fn(&P) + 'static>( this: *mut ffi::GESGroup, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&Group::from_glib_borrow(this).unsafe_cast_ref()) } @@ -229,13 +227,11 @@ impl> GroupExt for O { #[doc(alias = "in-point")] fn connect_in_point_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_in_point_trampoline( + unsafe extern "C" fn notify_in_point_trampoline, F: Fn(&P) + 'static>( this: *mut ffi::GESGroup, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&Group::from_glib_borrow(this).unsafe_cast_ref()) } @@ -254,13 +250,11 @@ impl> GroupExt for O { #[doc(alias = "max-duration")] fn connect_max_duration_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_max_duration_trampoline( + unsafe extern "C" fn notify_max_duration_trampoline, F: Fn(&P) + 'static>( this: *mut ffi::GESGroup, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&Group::from_glib_borrow(this).unsafe_cast_ref()) } @@ -279,13 +273,11 @@ impl> GroupExt for O { #[doc(alias = "priority")] fn connect_priority_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_priority_trampoline( + unsafe extern "C" fn notify_priority_trampoline, F: Fn(&P) + 'static>( this: *mut ffi::GESGroup, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&Group::from_glib_borrow(this).unsafe_cast_ref()) } @@ -304,13 +296,11 @@ impl> GroupExt for O { #[doc(alias = "start")] fn connect_start_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_start_trampoline( + unsafe extern "C" fn notify_start_trampoline, F: Fn(&P) + 'static>( this: *mut ffi::GESGroup, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&Group::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer-editing-services/src/auto/layer.rs b/gstreamer-editing-services/src/auto/layer.rs index 249368312..3a0509d76 100644 --- a/gstreamer-editing-services/src/auto/layer.rs +++ b/gstreamer-editing-services/src/auto/layer.rs @@ -338,13 +338,11 @@ impl> LayerExt for O { #[doc(alias = "clip-added")] fn connect_clip_added(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn clip_added_trampoline( + unsafe extern "C" fn clip_added_trampoline, F: Fn(&P, &Clip) + 'static>( this: *mut ffi::GESLayer, clip: *mut ffi::GESClip, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &Layer::from_glib_borrow(this).unsafe_cast_ref(), @@ -366,13 +364,11 @@ impl> LayerExt for O { #[doc(alias = "clip-removed")] fn connect_clip_removed(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn clip_removed_trampoline( + unsafe extern "C" fn clip_removed_trampoline, F: Fn(&P, &Clip) + 'static>( this: *mut ffi::GESLayer, clip: *mut ffi::GESClip, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &Layer::from_glib_borrow(this).unsafe_cast_ref(), @@ -394,13 +390,14 @@ impl> LayerExt for O { #[doc(alias = "auto-transition")] fn connect_auto_transition_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_auto_transition_trampoline( + unsafe extern "C" fn notify_auto_transition_trampoline< + P: IsA, + F: Fn(&P) + 'static, + >( this: *mut ffi::GESLayer, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&Layer::from_glib_borrow(this).unsafe_cast_ref()) } @@ -419,13 +416,11 @@ impl> LayerExt for O { #[doc(alias = "priority")] fn connect_priority_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_priority_trampoline( + unsafe extern "C" fn notify_priority_trampoline, F: Fn(&P) + 'static>( this: *mut ffi::GESLayer, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&Layer::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer-editing-services/src/auto/pipeline.rs b/gstreamer-editing-services/src/auto/pipeline.rs index 17f71f5da..07510ac1b 100644 --- a/gstreamer-editing-services/src/auto/pipeline.rs +++ b/gstreamer-editing-services/src/auto/pipeline.rs @@ -365,13 +365,14 @@ impl> GESPipelineExt for O { #[doc(alias = "audio-filter")] fn connect_audio_filter_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_audio_filter_trampoline( + unsafe extern "C" fn notify_audio_filter_trampoline< + P: IsA, + F: Fn(&P) + 'static, + >( this: *mut ffi::GESPipeline, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&Pipeline::from_glib_borrow(this).unsafe_cast_ref()) } @@ -390,13 +391,11 @@ impl> GESPipelineExt for O { #[doc(alias = "audio-sink")] fn connect_audio_sink_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_audio_sink_trampoline( + unsafe extern "C" fn notify_audio_sink_trampoline, F: Fn(&P) + 'static>( this: *mut ffi::GESPipeline, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&Pipeline::from_glib_borrow(this).unsafe_cast_ref()) } @@ -415,13 +414,11 @@ impl> GESPipelineExt for O { #[doc(alias = "mode")] fn connect_mode_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_mode_trampoline( + unsafe extern "C" fn notify_mode_trampoline, F: Fn(&P) + 'static>( this: *mut ffi::GESPipeline, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&Pipeline::from_glib_borrow(this).unsafe_cast_ref()) } @@ -440,13 +437,11 @@ impl> GESPipelineExt for O { #[doc(alias = "timeline")] fn connect_timeline_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_timeline_trampoline( + unsafe extern "C" fn notify_timeline_trampoline, F: Fn(&P) + 'static>( this: *mut ffi::GESPipeline, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&Pipeline::from_glib_borrow(this).unsafe_cast_ref()) } @@ -465,13 +460,14 @@ impl> GESPipelineExt for O { #[doc(alias = "video-filter")] fn connect_video_filter_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_video_filter_trampoline( + unsafe extern "C" fn notify_video_filter_trampoline< + P: IsA, + F: Fn(&P) + 'static, + >( this: *mut ffi::GESPipeline, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&Pipeline::from_glib_borrow(this).unsafe_cast_ref()) } @@ -490,13 +486,11 @@ impl> GESPipelineExt for O { #[doc(alias = "video-sink")] fn connect_video_sink_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_video_sink_trampoline( + unsafe extern "C" fn notify_video_sink_trampoline, F: Fn(&P) + 'static>( this: *mut ffi::GESPipeline, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&Pipeline::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer-editing-services/src/auto/project.rs b/gstreamer-editing-services/src/auto/project.rs index 5baeec86a..5fe790677 100644 --- a/gstreamer-editing-services/src/auto/project.rs +++ b/gstreamer-editing-services/src/auto/project.rs @@ -284,13 +284,14 @@ impl> ProjectExt for O { #[doc(alias = "asset-added")] fn connect_asset_added(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn asset_added_trampoline( + unsafe extern "C" fn asset_added_trampoline< + P: IsA, + F: Fn(&P, &Asset) + 'static, + >( this: *mut ffi::GESProject, asset: *mut ffi::GESAsset, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &Project::from_glib_borrow(this).unsafe_cast_ref(), @@ -312,13 +313,14 @@ impl> ProjectExt for O { #[doc(alias = "asset-loading")] fn connect_asset_loading(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn asset_loading_trampoline( + unsafe extern "C" fn asset_loading_trampoline< + P: IsA, + F: Fn(&P, &Asset) + 'static, + >( this: *mut ffi::GESProject, asset: *mut ffi::GESAsset, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &Project::from_glib_borrow(this).unsafe_cast_ref(), @@ -340,13 +342,14 @@ impl> ProjectExt for O { #[doc(alias = "asset-removed")] fn connect_asset_removed(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn asset_removed_trampoline( + unsafe extern "C" fn asset_removed_trampoline< + P: IsA, + F: Fn(&P, &Asset) + 'static, + >( this: *mut ffi::GESProject, asset: *mut ffi::GESAsset, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &Project::from_glib_borrow(this).unsafe_cast_ref(), @@ -374,16 +377,14 @@ impl> ProjectExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn error_loading_trampoline< - P, + P: IsA, F: Fn(&P, &Timeline, &glib::Error) + 'static, >( this: *mut ffi::GESProject, timeline: *mut ffi::GESTimeline, error: *mut glib::ffi::GError, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &Project::from_glib_borrow(this).unsafe_cast_ref(), @@ -412,7 +413,7 @@ impl> ProjectExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn error_loading_asset_trampoline< - P, + P: IsA, F: Fn(&P, &glib::Error, &str, glib::types::Type) + 'static, >( this: *mut ffi::GESProject, @@ -420,9 +421,7 @@ impl> ProjectExt for O { id: *mut libc::c_char, extractable_type: glib::ffi::GType, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &Project::from_glib_borrow(this).unsafe_cast_ref(), @@ -446,13 +445,11 @@ impl> ProjectExt for O { #[doc(alias = "loaded")] fn connect_loaded(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn loaded_trampoline( + unsafe extern "C" fn loaded_trampoline, F: Fn(&P, &Timeline) + 'static>( this: *mut ffi::GESProject, timeline: *mut ffi::GESTimeline, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &Project::from_glib_borrow(this).unsafe_cast_ref(), @@ -476,13 +473,11 @@ impl> ProjectExt for O { #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "loading")] fn connect_loading(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn loading_trampoline( + unsafe extern "C" fn loading_trampoline, F: Fn(&P, &Timeline) + 'static>( this: *mut ffi::GESProject, timeline: *mut ffi::GESTimeline, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &Project::from_glib_borrow(this).unsafe_cast_ref(), @@ -510,17 +505,14 @@ impl> ProjectExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn missing_uri_trampoline< - P, + P: IsA, F: Fn(&P, &glib::Error, &Asset) -> Option + 'static, >( this: *mut ffi::GESProject, error: *mut glib::ffi::GError, wrong_asset: *mut ffi::GESAsset, f: glib::ffi::gpointer, - ) -> *mut libc::c_char - where - P: IsA, - { + ) -> *mut libc::c_char { let f: &F = &*(f as *const F); f( &Project::from_glib_borrow(this).unsafe_cast_ref(), diff --git a/gstreamer-editing-services/src/auto/timeline.rs b/gstreamer-editing-services/src/auto/timeline.rs index f53378ec4..9aea939ec 100644 --- a/gstreamer-editing-services/src/auto/timeline.rs +++ b/gstreamer-editing-services/src/auto/timeline.rs @@ -506,12 +506,10 @@ impl> TimelineExt for O { #[doc(alias = "commited")] fn connect_commited(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn commited_trampoline( + unsafe extern "C" fn commited_trampoline, F: Fn(&P) + 'static>( this: *mut ffi::GESTimeline, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&Timeline::from_glib_borrow(this).unsafe_cast_ref()) } @@ -530,13 +528,14 @@ impl> TimelineExt for O { #[doc(alias = "group-added")] fn connect_group_added(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn group_added_trampoline( + unsafe extern "C" fn group_added_trampoline< + P: IsA, + F: Fn(&P, &Group) + 'static, + >( this: *mut ffi::GESTimeline, group: *mut ffi::GESGroup, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &Timeline::from_glib_borrow(this).unsafe_cast_ref(), @@ -563,13 +562,14 @@ impl> TimelineExt for O { #[doc(alias = "layer-added")] fn connect_layer_added(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn layer_added_trampoline( + unsafe extern "C" fn layer_added_trampoline< + P: IsA, + F: Fn(&P, &Layer) + 'static, + >( this: *mut ffi::GESTimeline, layer: *mut ffi::GESLayer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &Timeline::from_glib_borrow(this).unsafe_cast_ref(), @@ -591,13 +591,14 @@ impl> TimelineExt for O { #[doc(alias = "layer-removed")] fn connect_layer_removed(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn layer_removed_trampoline( + unsafe extern "C" fn layer_removed_trampoline< + P: IsA, + F: Fn(&P, &Layer) + 'static, + >( this: *mut ffi::GESTimeline, layer: *mut ffi::GESLayer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &Timeline::from_glib_borrow(this).unsafe_cast_ref(), @@ -625,17 +626,14 @@ impl> TimelineExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn select_element_track_trampoline< - P, + P: IsA, F: Fn(&P, &Clip, &TrackElement) -> Track + 'static, >( this: *mut ffi::GESTimeline, clip: *mut ffi::GESClip, track_element: *mut ffi::GESTrackElement, f: glib::ffi::gpointer, - ) -> *mut ffi::GESTrack - where - P: IsA, - { + ) -> *mut ffi::GESTrack { let f: &F = &*(f as *const F); f( &Timeline::from_glib_borrow(this).unsafe_cast_ref(), @@ -668,7 +666,7 @@ impl> TimelineExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn snapping_ended_trampoline< - P, + P: IsA, F: Fn(&P, &TrackElement, &TrackElement, u64) + 'static, >( this: *mut ffi::GESTimeline, @@ -676,9 +674,7 @@ impl> TimelineExt for O { obj2: *mut ffi::GESTrackElement, position: u64, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &Timeline::from_glib_borrow(this).unsafe_cast_ref(), @@ -706,7 +702,7 @@ impl> TimelineExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn snapping_started_trampoline< - P, + P: IsA, F: Fn(&P, &TrackElement, &TrackElement, u64) + 'static, >( this: *mut ffi::GESTimeline, @@ -714,9 +710,7 @@ impl> TimelineExt for O { obj2: *mut ffi::GESTrackElement, position: u64, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &Timeline::from_glib_borrow(this).unsafe_cast_ref(), @@ -740,13 +734,14 @@ impl> TimelineExt for O { #[doc(alias = "track-added")] fn connect_track_added(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn track_added_trampoline( + unsafe extern "C" fn track_added_trampoline< + P: IsA, + F: Fn(&P, &Track) + 'static, + >( this: *mut ffi::GESTimeline, track: *mut ffi::GESTrack, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &Timeline::from_glib_borrow(this).unsafe_cast_ref(), @@ -768,13 +763,14 @@ impl> TimelineExt for O { #[doc(alias = "track-removed")] fn connect_track_removed(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn track_removed_trampoline( + unsafe extern "C" fn track_removed_trampoline< + P: IsA, + F: Fn(&P, &Track) + 'static, + >( this: *mut ffi::GESTimeline, track: *mut ffi::GESTrack, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &Timeline::from_glib_borrow(this).unsafe_cast_ref(), @@ -796,13 +792,14 @@ impl> TimelineExt for O { #[doc(alias = "auto-transition")] fn connect_auto_transition_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_auto_transition_trampoline( + unsafe extern "C" fn notify_auto_transition_trampoline< + P: IsA, + F: Fn(&P) + 'static, + >( this: *mut ffi::GESTimeline, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&Timeline::from_glib_borrow(this).unsafe_cast_ref()) } @@ -821,13 +818,11 @@ impl> TimelineExt for O { #[doc(alias = "duration")] fn connect_duration_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_duration_trampoline( + unsafe extern "C" fn notify_duration_trampoline, F: Fn(&P) + 'static>( this: *mut ffi::GESTimeline, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&Timeline::from_glib_borrow(this).unsafe_cast_ref()) } @@ -846,13 +841,14 @@ impl> TimelineExt for O { #[doc(alias = "snapping-distance")] fn connect_snapping_distance_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_snapping_distance_trampoline( + unsafe extern "C" fn notify_snapping_distance_trampoline< + P: IsA, + F: Fn(&P) + 'static, + >( this: *mut ffi::GESTimeline, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&Timeline::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer-editing-services/src/auto/timeline_element.rs b/gstreamer-editing-services/src/auto/timeline_element.rs index c60cfa1cf..444384ae1 100644 --- a/gstreamer-editing-services/src/auto/timeline_element.rs +++ b/gstreamer-editing-services/src/auto/timeline_element.rs @@ -692,13 +692,14 @@ impl> TimelineElementExt for O { #[doc(alias = "duration")] fn connect_duration_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_duration_trampoline( + unsafe extern "C" fn notify_duration_trampoline< + P: IsA, + F: Fn(&P) + 'static, + >( this: *mut ffi::GESTimelineElement, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&TimelineElement::from_glib_borrow(this).unsafe_cast_ref()) } @@ -717,13 +718,14 @@ impl> TimelineElementExt for O { #[doc(alias = "in-point")] fn connect_in_point_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_in_point_trampoline( + unsafe extern "C" fn notify_in_point_trampoline< + P: IsA, + F: Fn(&P) + 'static, + >( this: *mut ffi::GESTimelineElement, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&TimelineElement::from_glib_borrow(this).unsafe_cast_ref()) } @@ -742,13 +744,14 @@ impl> TimelineElementExt for O { #[doc(alias = "max-duration")] fn connect_max_duration_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_max_duration_trampoline( + unsafe extern "C" fn notify_max_duration_trampoline< + P: IsA, + F: Fn(&P) + 'static, + >( this: *mut ffi::GESTimelineElement, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&TimelineElement::from_glib_borrow(this).unsafe_cast_ref()) } @@ -767,13 +770,14 @@ impl> TimelineElementExt for O { #[doc(alias = "name")] fn connect_name_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_name_trampoline( + unsafe extern "C" fn notify_name_trampoline< + P: IsA, + F: Fn(&P) + 'static, + >( this: *mut ffi::GESTimelineElement, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&TimelineElement::from_glib_borrow(this).unsafe_cast_ref()) } @@ -792,13 +796,14 @@ impl> TimelineElementExt for O { #[doc(alias = "parent")] fn connect_parent_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_parent_trampoline( + unsafe extern "C" fn notify_parent_trampoline< + P: IsA, + F: Fn(&P) + 'static, + >( this: *mut ffi::GESTimelineElement, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&TimelineElement::from_glib_borrow(this).unsafe_cast_ref()) } @@ -817,13 +822,14 @@ impl> TimelineElementExt for O { #[doc(alias = "priority")] fn connect_priority_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_priority_trampoline( + unsafe extern "C" fn notify_priority_trampoline< + P: IsA, + F: Fn(&P) + 'static, + >( this: *mut ffi::GESTimelineElement, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&TimelineElement::from_glib_borrow(this).unsafe_cast_ref()) } @@ -842,13 +848,14 @@ impl> TimelineElementExt for O { #[doc(alias = "serialize")] fn connect_serialize_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_serialize_trampoline( + unsafe extern "C" fn notify_serialize_trampoline< + P: IsA, + F: Fn(&P) + 'static, + >( this: *mut ffi::GESTimelineElement, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&TimelineElement::from_glib_borrow(this).unsafe_cast_ref()) } @@ -867,13 +874,14 @@ impl> TimelineElementExt for O { #[doc(alias = "start")] fn connect_start_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_start_trampoline( + unsafe extern "C" fn notify_start_trampoline< + P: IsA, + F: Fn(&P) + 'static, + >( this: *mut ffi::GESTimelineElement, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&TimelineElement::from_glib_borrow(this).unsafe_cast_ref()) } @@ -892,13 +900,14 @@ impl> TimelineElementExt for O { #[doc(alias = "timeline")] fn connect_timeline_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_timeline_trampoline( + unsafe extern "C" fn notify_timeline_trampoline< + P: IsA, + F: Fn(&P) + 'static, + >( this: *mut ffi::GESTimelineElement, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&TimelineElement::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer-editing-services/src/auto/track.rs b/gstreamer-editing-services/src/auto/track.rs index 104d30322..ad895e41b 100644 --- a/gstreamer-editing-services/src/auto/track.rs +++ b/gstreamer-editing-services/src/auto/track.rs @@ -350,12 +350,10 @@ impl> GESTrackExt for O { #[doc(alias = "commited")] fn connect_commited(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn commited_trampoline( + unsafe extern "C" fn commited_trampoline, F: Fn(&P) + 'static>( this: *mut ffi::GESTrack, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&Track::from_glib_borrow(this).unsafe_cast_ref()) } @@ -377,13 +375,14 @@ impl> GESTrackExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn track_element_added_trampoline( + unsafe extern "C" fn track_element_added_trampoline< + P: IsA, + F: Fn(&P, &TrackElement) + 'static, + >( this: *mut ffi::GESTrack, effect: *mut ffi::GESTrackElement, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &Track::from_glib_borrow(this).unsafe_cast_ref(), @@ -409,15 +408,13 @@ impl> GESTrackExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn track_element_removed_trampoline< - P, + P: IsA, F: Fn(&P, &TrackElement) + 'static, >( this: *mut ffi::GESTrack, effect: *mut ffi::GESTrackElement, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &Track::from_glib_borrow(this).unsafe_cast_ref(), @@ -439,13 +436,11 @@ impl> GESTrackExt for O { #[doc(alias = "duration")] fn connect_duration_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_duration_trampoline( + unsafe extern "C" fn notify_duration_trampoline, F: Fn(&P) + 'static>( this: *mut ffi::GESTrack, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&Track::from_glib_borrow(this).unsafe_cast_ref()) } @@ -466,13 +461,11 @@ impl> GESTrackExt for O { #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "id")] fn connect_id_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_id_trampoline( + unsafe extern "C" fn notify_id_trampoline, F: Fn(&P) + 'static>( this: *mut ffi::GESTrack, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&Track::from_glib_borrow(this).unsafe_cast_ref()) } @@ -491,13 +484,11 @@ impl> GESTrackExt for O { #[doc(alias = "mixing")] fn connect_mixing_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_mixing_trampoline( + unsafe extern "C" fn notify_mixing_trampoline, F: Fn(&P) + 'static>( this: *mut ffi::GESTrack, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&Track::from_glib_borrow(this).unsafe_cast_ref()) } @@ -516,13 +507,14 @@ impl> GESTrackExt for O { #[doc(alias = "restriction-caps")] fn connect_restriction_caps_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_restriction_caps_trampoline( + unsafe extern "C" fn notify_restriction_caps_trampoline< + P: IsA, + F: Fn(&P) + 'static, + >( this: *mut ffi::GESTrack, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&Track::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer-editing-services/src/auto/track_element.rs b/gstreamer-editing-services/src/auto/track_element.rs index b20a35982..8162cfcac 100644 --- a/gstreamer-editing-services/src/auto/track_element.rs +++ b/gstreamer-editing-services/src/auto/track_element.rs @@ -363,13 +363,11 @@ impl> TrackElementExt for O { #[doc(alias = "active")] fn connect_active_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_active_trampoline( + unsafe extern "C" fn notify_active_trampoline, F: Fn(&P) + 'static>( this: *mut ffi::GESTrackElement, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&TrackElement::from_glib_borrow(this).unsafe_cast_ref()) } @@ -393,13 +391,14 @@ impl> TrackElementExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_auto_clamp_control_sources_trampoline( + unsafe extern "C" fn notify_auto_clamp_control_sources_trampoline< + P: IsA, + F: Fn(&P) + 'static, + >( this: *mut ffi::GESTrackElement, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&TrackElement::from_glib_borrow(this).unsafe_cast_ref()) } @@ -420,13 +419,14 @@ impl> TrackElementExt for O { #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "has-internal-source")] fn connect_has_internal_source_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_has_internal_source_trampoline( + unsafe extern "C" fn notify_has_internal_source_trampoline< + P: IsA, + F: Fn(&P) + 'static, + >( this: *mut ffi::GESTrackElement, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&TrackElement::from_glib_borrow(this).unsafe_cast_ref()) } @@ -445,13 +445,11 @@ impl> TrackElementExt for O { #[doc(alias = "track")] fn connect_track_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_track_trampoline( + unsafe extern "C" fn notify_track_trampoline, F: Fn(&P) + 'static>( this: *mut ffi::GESTrackElement, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&TrackElement::from_glib_borrow(this).unsafe_cast_ref()) } @@ -470,13 +468,14 @@ impl> TrackElementExt for O { #[doc(alias = "track-type")] fn connect_track_type_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_track_type_trampoline( + unsafe extern "C" fn notify_track_type_trampoline< + P: IsA, + F: Fn(&P) + 'static, + >( this: *mut ffi::GESTrackElement, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&TrackElement::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer-editing-services/src/auto/transition_clip.rs b/gstreamer-editing-services/src/auto/transition_clip.rs index 09666ffd7..c70829e43 100644 --- a/gstreamer-editing-services/src/auto/transition_clip.rs +++ b/gstreamer-editing-services/src/auto/transition_clip.rs @@ -82,13 +82,14 @@ impl> TransitionClipExt for O { #[doc(alias = "vtype")] fn connect_vtype_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_vtype_trampoline( + unsafe extern "C" fn notify_vtype_trampoline< + P: IsA, + F: Fn(&P) + 'static, + >( this: *mut ffi::GESTransitionClip, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&TransitionClip::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer-editing-services/src/auto/uri_clip.rs b/gstreamer-editing-services/src/auto/uri_clip.rs index 35b443894..4f34d970e 100644 --- a/gstreamer-editing-services/src/auto/uri_clip.rs +++ b/gstreamer-editing-services/src/auto/uri_clip.rs @@ -90,13 +90,11 @@ impl> UriClipExt for O { #[doc(alias = "is-image")] fn connect_is_image_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_is_image_trampoline( + unsafe extern "C" fn notify_is_image_trampoline, F: Fn(&P) + 'static>( this: *mut ffi::GESUriClip, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&UriClip::from_glib_borrow(this).unsafe_cast_ref()) } @@ -115,13 +113,11 @@ impl> UriClipExt for O { #[doc(alias = "mute")] fn connect_mute_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_mute_trampoline( + unsafe extern "C" fn notify_mute_trampoline, F: Fn(&P) + 'static>( this: *mut ffi::GESUriClip, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&UriClip::from_glib_borrow(this).unsafe_cast_ref()) } @@ -140,13 +136,14 @@ impl> UriClipExt for O { #[doc(alias = "supported-formats")] fn connect_supported_formats_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_supported_formats_trampoline( + unsafe extern "C" fn notify_supported_formats_trampoline< + P: IsA, + F: Fn(&P) + 'static, + >( this: *mut ffi::GESUriClip, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&UriClip::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer-editing-services/src/auto/uri_clip_asset.rs b/gstreamer-editing-services/src/auto/uri_clip_asset.rs index 187bab1ec..e1065dc8b 100644 --- a/gstreamer-editing-services/src/auto/uri_clip_asset.rs +++ b/gstreamer-editing-services/src/auto/uri_clip_asset.rs @@ -169,13 +169,14 @@ impl> UriClipAssetExt for O { #[doc(alias = "duration")] fn connect_duration_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_duration_trampoline( + unsafe extern "C" fn notify_duration_trampoline< + P: IsA, + F: Fn(&P) + 'static, + >( this: *mut ffi::GESUriClipAsset, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&UriClipAsset::from_glib_borrow(this).unsafe_cast_ref()) } @@ -196,13 +197,14 @@ impl> UriClipAssetExt for O { #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "is-nested-timeline")] fn connect_is_nested_timeline_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_is_nested_timeline_trampoline( + unsafe extern "C" fn notify_is_nested_timeline_trampoline< + P: IsA, + F: Fn(&P) + 'static, + >( this: *mut ffi::GESUriClipAsset, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&UriClipAsset::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer-editing-services/src/auto/versions.txt b/gstreamer-editing-services/src/auto/versions.txt index 524f5becf..81256bc01 100644 --- a/gstreamer-editing-services/src/auto/versions.txt +++ b/gstreamer-editing-services/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +Generated by gir (https://github.com/gtk-rs/gir @ de679ce) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-editing-services/sys/build.rs b/gstreamer-editing-services/sys/build.rs index 9642c8d86..1eecb687a 100644 --- a/gstreamer-editing-services/sys/build.rs +++ b/gstreamer-editing-services/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-editing-services/sys/src/lib.rs b/gstreamer-editing-services/sys/src/lib.rs index fc7f33073..b1fef8c63 100644 --- a/gstreamer-editing-services/sys/src/lib.rs +++ b/gstreamer-editing-services/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-editing-services/sys/tests/abi.rs b/gstreamer-editing-services/sys/tests/abi.rs index cdfd76d17..f0795b221 100644 --- a/gstreamer-editing-services/sys/tests/abi.rs +++ b/gstreamer-editing-services/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-editing-services/sys/tests/constant.c b/gstreamer-editing-services/sys/tests/constant.c index dbf36ae30..4f3f3874d 100644 --- a/gstreamer-editing-services/sys/tests/constant.c +++ b/gstreamer-editing-services/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-editing-services/sys/tests/layout.c b/gstreamer-editing-services/sys/tests/layout.c index 995a93ca9..6c8795dc1 100644 --- a/gstreamer-editing-services/sys/tests/layout.c +++ b/gstreamer-editing-services/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/egl/src/auto/versions.txt b/gstreamer-gl/egl/src/auto/versions.txt index 524f5becf..81256bc01 100644 --- a/gstreamer-gl/egl/src/auto/versions.txt +++ b/gstreamer-gl/egl/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +Generated by gir (https://github.com/gtk-rs/gir @ de679ce) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-gl/egl/sys/build.rs b/gstreamer-gl/egl/sys/build.rs index 9642c8d86..1eecb687a 100644 --- a/gstreamer-gl/egl/sys/build.rs +++ b/gstreamer-gl/egl/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/egl/sys/src/lib.rs b/gstreamer-gl/egl/sys/src/lib.rs index f4b696c2d..adb8c7e8d 100644 --- a/gstreamer-gl/egl/sys/src/lib.rs +++ b/gstreamer-gl/egl/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/egl/sys/tests/abi.rs b/gstreamer-gl/egl/sys/tests/abi.rs index e45645de7..567847dad 100644 --- a/gstreamer-gl/egl/sys/tests/abi.rs +++ b/gstreamer-gl/egl/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/egl/sys/tests/constant.c b/gstreamer-gl/egl/sys/tests/constant.c index 9d220fcca..9b5abb831 100644 --- a/gstreamer-gl/egl/sys/tests/constant.c +++ b/gstreamer-gl/egl/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/egl/sys/tests/layout.c b/gstreamer-gl/egl/sys/tests/layout.c index 15af8e149..ccf211f97 100644 --- a/gstreamer-gl/egl/sys/tests/layout.c +++ b/gstreamer-gl/egl/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/src/auto/gl_base_filter.rs b/gstreamer-gl/src/auto/gl_base_filter.rs index 6e7c9ed55..0b17e93cc 100644 --- a/gstreamer-gl/src/auto/gl_base_filter.rs +++ b/gstreamer-gl/src/auto/gl_base_filter.rs @@ -85,13 +85,14 @@ impl> GLBaseFilterExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_context_trampoline( + unsafe extern "C" fn notify_context_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstGLBaseFilter, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&GLBaseFilter::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer-gl/src/auto/gl_base_src.rs b/gstreamer-gl/src/auto/gl_base_src.rs index c2665e7ab..b1242a674 100644 --- a/gstreamer-gl/src/auto/gl_base_src.rs +++ b/gstreamer-gl/src/auto/gl_base_src.rs @@ -71,15 +71,13 @@ impl> GLBaseSrcExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn notify_timestamp_offset_trampoline< - P, + P: IsA, F: Fn(&P) + Send + Sync + 'static, >( this: *mut ffi::GstGLBaseSrc, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&GLBaseSrc::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer-gl/src/auto/gl_display.rs b/gstreamer-gl/src/auto/gl_display.rs index f28303a22..650cd661f 100644 --- a/gstreamer-gl/src/auto/gl_display.rs +++ b/gstreamer-gl/src/auto/gl_display.rs @@ -199,16 +199,13 @@ impl> GLDisplayExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn create_context_trampoline< - P, + P: IsA, F: Fn(&P, &GLContext) -> GLContext + Send + Sync + 'static, >( this: *mut ffi::GstGLDisplay, context: *mut ffi::GstGLContext, f: glib::ffi::gpointer, - ) -> *mut ffi::GstGLContext - where - P: IsA, - { + ) -> *mut ffi::GstGLContext { let f: &F = &*(f as *const F); f( &GLDisplay::from_glib_borrow(this).unsafe_cast_ref(), diff --git a/gstreamer-gl/src/auto/gl_overlay_compositor.rs b/gstreamer-gl/src/auto/gl_overlay_compositor.rs index 024f44e1a..8afe59b05 100644 --- a/gstreamer-gl/src/auto/gl_overlay_compositor.rs +++ b/gstreamer-gl/src/auto/gl_overlay_compositor.rs @@ -102,7 +102,7 @@ impl GLOverlayCompositor { #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] #[doc(alias = "yinvert")] - pub fn connect_yinvert_notify( + pub fn connect_yinvert_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-gl/src/auto/gl_shader.rs b/gstreamer-gl/src/auto/gl_shader.rs index 23aa97a8a..423355da1 100644 --- a/gstreamer-gl/src/auto/gl_shader.rs +++ b/gstreamer-gl/src/auto/gl_shader.rs @@ -428,7 +428,7 @@ impl GLShader { } #[doc(alias = "linked")] - pub fn connect_linked_notify( + pub fn connect_linked_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-gl/src/auto/gl_view_convert.rs b/gstreamer-gl/src/auto/gl_view_convert.rs index 24c665c63..7acff53d0 100644 --- a/gstreamer-gl/src/auto/gl_view_convert.rs +++ b/gstreamer-gl/src/auto/gl_view_convert.rs @@ -231,7 +231,7 @@ impl GLViewConvert { } #[doc(alias = "downmix-mode")] - pub fn connect_downmix_mode_notify( + pub fn connect_downmix_mode_notify( &self, f: F, ) -> SignalHandlerId { @@ -259,7 +259,7 @@ impl GLViewConvert { } #[doc(alias = "input-flags-override")] - pub fn connect_input_flags_override_notify( + pub fn connect_input_flags_override_notify( &self, f: F, ) -> SignalHandlerId { @@ -287,7 +287,7 @@ impl GLViewConvert { } #[doc(alias = "input-mode-override")] - pub fn connect_input_mode_override_notify( + pub fn connect_input_mode_override_notify( &self, f: F, ) -> SignalHandlerId { @@ -315,7 +315,7 @@ impl GLViewConvert { } #[doc(alias = "output-flags-override")] - pub fn connect_output_flags_override_notify( + pub fn connect_output_flags_override_notify( &self, f: F, ) -> SignalHandlerId { @@ -343,7 +343,7 @@ impl GLViewConvert { } #[doc(alias = "output-mode-override")] - pub fn connect_output_mode_override_notify( + pub fn connect_output_mode_override_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-gl/src/auto/gl_window.rs b/gstreamer-gl/src/auto/gl_window.rs index f77eb900c..aa0fe07fe 100644 --- a/gstreamer-gl/src/auto/gl_window.rs +++ b/gstreamer-gl/src/auto/gl_window.rs @@ -277,16 +277,14 @@ impl> GLWindowExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn key_event_trampoline< - P, + P: IsA, F: Fn(&P, &str, &str) + Send + Sync + 'static, >( this: *mut ffi::GstGLWindow, id: *mut libc::c_char, key: *mut libc::c_char, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &GLWindow::from_glib_borrow(this).unsafe_cast_ref(), @@ -313,7 +311,7 @@ impl> GLWindowExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn mouse_event_trampoline< - P, + P: IsA, F: Fn(&P, &str, i32, f64, f64) + Send + Sync + 'static, >( this: *mut ffi::GstGLWindow, @@ -322,9 +320,7 @@ impl> GLWindowExt for O { x: libc::c_double, y: libc::c_double, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &GLWindow::from_glib_borrow(this).unsafe_cast_ref(), @@ -355,7 +351,7 @@ impl> GLWindowExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn scroll_event_trampoline< - P, + P: IsA, F: Fn(&P, f64, f64, f64, f64) + Send + Sync + 'static, >( this: *mut ffi::GstGLWindow, @@ -364,9 +360,7 @@ impl> GLWindowExt for O { delta_x: libc::c_double, delta_y: libc::c_double, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &GLWindow::from_glib_borrow(this).unsafe_cast_ref(), diff --git a/gstreamer-gl/src/auto/versions.txt b/gstreamer-gl/src/auto/versions.txt index 524f5becf..81256bc01 100644 --- a/gstreamer-gl/src/auto/versions.txt +++ b/gstreamer-gl/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +Generated by gir (https://github.com/gtk-rs/gir @ de679ce) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-gl/sys/build.rs b/gstreamer-gl/sys/build.rs index 9642c8d86..1eecb687a 100644 --- a/gstreamer-gl/sys/build.rs +++ b/gstreamer-gl/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/sys/src/lib.rs b/gstreamer-gl/sys/src/lib.rs index 1aec04609..136e84e46 100644 --- a/gstreamer-gl/sys/src/lib.rs +++ b/gstreamer-gl/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/sys/tests/abi.rs b/gstreamer-gl/sys/tests/abi.rs index 946423172..d7a6a7519 100644 --- a/gstreamer-gl/sys/tests/abi.rs +++ b/gstreamer-gl/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/sys/tests/constant.c b/gstreamer-gl/sys/tests/constant.c index a47bcd27f..f70a27a4c 100644 --- a/gstreamer-gl/sys/tests/constant.c +++ b/gstreamer-gl/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/sys/tests/layout.c b/gstreamer-gl/sys/tests/layout.c index 357156edc..2edd02f07 100644 --- a/gstreamer-gl/sys/tests/layout.c +++ b/gstreamer-gl/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/wayland/src/auto/versions.txt b/gstreamer-gl/wayland/src/auto/versions.txt index 524f5becf..81256bc01 100644 --- a/gstreamer-gl/wayland/src/auto/versions.txt +++ b/gstreamer-gl/wayland/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +Generated by gir (https://github.com/gtk-rs/gir @ de679ce) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-gl/wayland/sys/build.rs b/gstreamer-gl/wayland/sys/build.rs index 9642c8d86..1eecb687a 100644 --- a/gstreamer-gl/wayland/sys/build.rs +++ b/gstreamer-gl/wayland/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/wayland/sys/src/lib.rs b/gstreamer-gl/wayland/sys/src/lib.rs index 2c14f530c..f8b1c4099 100644 --- a/gstreamer-gl/wayland/sys/src/lib.rs +++ b/gstreamer-gl/wayland/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/wayland/sys/tests/abi.rs b/gstreamer-gl/wayland/sys/tests/abi.rs index 65f7dac28..f85b4a86a 100644 --- a/gstreamer-gl/wayland/sys/tests/abi.rs +++ b/gstreamer-gl/wayland/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/wayland/sys/tests/constant.c b/gstreamer-gl/wayland/sys/tests/constant.c index 7f6ac9c5c..0159fcd39 100644 --- a/gstreamer-gl/wayland/sys/tests/constant.c +++ b/gstreamer-gl/wayland/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/wayland/sys/tests/layout.c b/gstreamer-gl/wayland/sys/tests/layout.c index 2762b999b..083a04993 100644 --- a/gstreamer-gl/wayland/sys/tests/layout.c +++ b/gstreamer-gl/wayland/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/x11/src/auto/versions.txt b/gstreamer-gl/x11/src/auto/versions.txt index 524f5becf..81256bc01 100644 --- a/gstreamer-gl/x11/src/auto/versions.txt +++ b/gstreamer-gl/x11/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +Generated by gir (https://github.com/gtk-rs/gir @ de679ce) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-gl/x11/sys/build.rs b/gstreamer-gl/x11/sys/build.rs index 9642c8d86..1eecb687a 100644 --- a/gstreamer-gl/x11/sys/build.rs +++ b/gstreamer-gl/x11/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/x11/sys/src/lib.rs b/gstreamer-gl/x11/sys/src/lib.rs index 4c32c0f36..337e54fdf 100644 --- a/gstreamer-gl/x11/sys/src/lib.rs +++ b/gstreamer-gl/x11/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/x11/sys/tests/abi.rs b/gstreamer-gl/x11/sys/tests/abi.rs index af2f8d5d4..3f3b0a550 100644 --- a/gstreamer-gl/x11/sys/tests/abi.rs +++ b/gstreamer-gl/x11/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/x11/sys/tests/constant.c b/gstreamer-gl/x11/sys/tests/constant.c index 7f6ac9c5c..0159fcd39 100644 --- a/gstreamer-gl/x11/sys/tests/constant.c +++ b/gstreamer-gl/x11/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-gl/x11/sys/tests/layout.c b/gstreamer-gl/x11/sys/tests/layout.c index e19067d9d..90d806a43 100644 --- a/gstreamer-gl/x11/sys/tests/layout.c +++ b/gstreamer-gl/x11/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-mpegts/sys/build.rs b/gstreamer-mpegts/sys/build.rs index 9642c8d86..1eecb687a 100644 --- a/gstreamer-mpegts/sys/build.rs +++ b/gstreamer-mpegts/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-mpegts/sys/src/lib.rs b/gstreamer-mpegts/sys/src/lib.rs index 1eafc752c..9c1b04ad8 100644 --- a/gstreamer-mpegts/sys/src/lib.rs +++ b/gstreamer-mpegts/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-mpegts/sys/tests/abi.rs b/gstreamer-mpegts/sys/tests/abi.rs index 63932b25f..409dccd7e 100644 --- a/gstreamer-mpegts/sys/tests/abi.rs +++ b/gstreamer-mpegts/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-mpegts/sys/tests/constant.c b/gstreamer-mpegts/sys/tests/constant.c index bedbdac7b..421f955d1 100644 --- a/gstreamer-mpegts/sys/tests/constant.c +++ b/gstreamer-mpegts/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-mpegts/sys/tests/layout.c b/gstreamer-mpegts/sys/tests/layout.c index 82afd3a20..f5a1c4444 100644 --- a/gstreamer-mpegts/sys/tests/layout.c +++ b/gstreamer-mpegts/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-net/src/auto/net_client_clock.rs b/gstreamer-net/src/auto/net_client_clock.rs index 51e880ff7..28ab3e20f 100644 --- a/gstreamer-net/src/auto/net_client_clock.rs +++ b/gstreamer-net/src/auto/net_client_clock.rs @@ -201,7 +201,7 @@ impl NetClientClock { } #[doc(alias = "address")] - pub fn connect_address_notify( + pub fn connect_address_notify( &self, f: F, ) -> SignalHandlerId { @@ -229,7 +229,7 @@ impl NetClientClock { } #[doc(alias = "bus")] - pub fn connect_bus_notify( + pub fn connect_bus_notify( &self, f: F, ) -> SignalHandlerId { @@ -257,7 +257,7 @@ impl NetClientClock { } #[doc(alias = "internal-clock")] - pub fn connect_internal_clock_notify( + pub fn connect_internal_clock_notify( &self, f: F, ) -> SignalHandlerId { @@ -285,9 +285,7 @@ impl NetClientClock { } #[doc(alias = "minimum-update-interval")] - pub fn connect_minimum_update_interval_notify< - F: Fn(&NetClientClock) + Send + Sync + 'static, - >( + pub fn connect_minimum_update_interval_notify( &self, f: F, ) -> SignalHandlerId { @@ -315,7 +313,7 @@ impl NetClientClock { } #[doc(alias = "port")] - pub fn connect_port_notify( + pub fn connect_port_notify( &self, f: F, ) -> SignalHandlerId { @@ -343,7 +341,7 @@ impl NetClientClock { } #[doc(alias = "qos-dscp")] - pub fn connect_qos_dscp_notify( + pub fn connect_qos_dscp_notify( &self, f: F, ) -> SignalHandlerId { @@ -371,7 +369,7 @@ impl NetClientClock { } #[doc(alias = "round-trip-limit")] - pub fn connect_round_trip_limit_notify( + pub fn connect_round_trip_limit_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-net/src/auto/net_time_provider.rs b/gstreamer-net/src/auto/net_time_provider.rs index b593edb05..ab9dffc99 100644 --- a/gstreamer-net/src/auto/net_time_provider.rs +++ b/gstreamer-net/src/auto/net_time_provider.rs @@ -114,7 +114,7 @@ impl NetTimeProvider { } #[doc(alias = "active")] - pub fn connect_active_notify( + pub fn connect_active_notify( &self, f: F, ) -> SignalHandlerId { @@ -142,7 +142,7 @@ impl NetTimeProvider { } #[doc(alias = "qos-dscp")] - pub fn connect_qos_dscp_notify( + pub fn connect_qos_dscp_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-net/src/auto/ptp_clock.rs b/gstreamer-net/src/auto/ptp_clock.rs index 019cbbfe6..8aaae0e0c 100644 --- a/gstreamer-net/src/auto/ptp_clock.rs +++ b/gstreamer-net/src/auto/ptp_clock.rs @@ -80,7 +80,7 @@ impl PtpClock { } #[doc(alias = "grandmaster-clock-id")] - pub fn connect_grandmaster_clock_id_notify( + pub fn connect_grandmaster_clock_id_notify( &self, f: F, ) -> SignalHandlerId { @@ -108,7 +108,7 @@ impl PtpClock { } #[doc(alias = "internal-clock")] - pub fn connect_internal_clock_notify( + pub fn connect_internal_clock_notify( &self, f: F, ) -> SignalHandlerId { @@ -136,7 +136,7 @@ impl PtpClock { } #[doc(alias = "master-clock-id")] - pub fn connect_master_clock_id_notify( + pub fn connect_master_clock_id_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-net/src/auto/versions.txt b/gstreamer-net/src/auto/versions.txt index 524f5becf..81256bc01 100644 --- a/gstreamer-net/src/auto/versions.txt +++ b/gstreamer-net/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +Generated by gir (https://github.com/gtk-rs/gir @ de679ce) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-net/sys/build.rs b/gstreamer-net/sys/build.rs index 9642c8d86..1eecb687a 100644 --- a/gstreamer-net/sys/build.rs +++ b/gstreamer-net/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-net/sys/src/lib.rs b/gstreamer-net/sys/src/lib.rs index 4f352f7fc..fd66b68f5 100644 --- a/gstreamer-net/sys/src/lib.rs +++ b/gstreamer-net/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-net/sys/tests/abi.rs b/gstreamer-net/sys/tests/abi.rs index 3956ca47f..b770aef90 100644 --- a/gstreamer-net/sys/tests/abi.rs +++ b/gstreamer-net/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-net/sys/tests/constant.c b/gstreamer-net/sys/tests/constant.c index 497f0675b..d64d2d181 100644 --- a/gstreamer-net/sys/tests/constant.c +++ b/gstreamer-net/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-net/sys/tests/layout.c b/gstreamer-net/sys/tests/layout.c index 959973472..3b9b2b250 100644 --- a/gstreamer-net/sys/tests/layout.c +++ b/gstreamer-net/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-pbutils/src/auto/discoverer.rs b/gstreamer-pbutils/src/auto/discoverer.rs index de0a9d457..abf90e1ca 100644 --- a/gstreamer-pbutils/src/auto/discoverer.rs +++ b/gstreamer-pbutils/src/auto/discoverer.rs @@ -114,7 +114,7 @@ impl Discoverer { #[doc(alias = "discovered")] pub fn connect_discovered< - F: Fn(&Discoverer, &DiscovererInfo, Option<&glib::Error>) + Send + Sync + 'static, + F: Fn(&Self, &DiscovererInfo, Option<&glib::Error>) + Send + Sync + 'static, >( &self, f: F, @@ -150,10 +150,7 @@ impl Discoverer { } #[doc(alias = "finished")] - pub fn connect_finished( - &self, - f: F, - ) -> SignalHandlerId { + pub fn connect_finished(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn finished_trampoline( this: *mut ffi::GstDiscoverer, f: glib::ffi::gpointer, @@ -175,7 +172,7 @@ impl Discoverer { } #[doc(alias = "source-setup")] - pub fn connect_source_setup( + pub fn connect_source_setup( &self, f: F, ) -> SignalHandlerId { @@ -203,10 +200,7 @@ impl Discoverer { } #[doc(alias = "starting")] - pub fn connect_starting( - &self, - f: F, - ) -> SignalHandlerId { + pub fn connect_starting(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn starting_trampoline( this: *mut ffi::GstDiscoverer, f: glib::ffi::gpointer, @@ -230,7 +224,7 @@ impl Discoverer { #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] #[doc(alias = "use-cache")] - pub fn connect_use_cache_notify( + pub fn connect_use_cache_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-pbutils/src/auto/versions.txt b/gstreamer-pbutils/src/auto/versions.txt index 524f5becf..81256bc01 100644 --- a/gstreamer-pbutils/src/auto/versions.txt +++ b/gstreamer-pbutils/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +Generated by gir (https://github.com/gtk-rs/gir @ de679ce) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-pbutils/sys/build.rs b/gstreamer-pbutils/sys/build.rs index 9642c8d86..1eecb687a 100644 --- a/gstreamer-pbutils/sys/build.rs +++ b/gstreamer-pbutils/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-pbutils/sys/src/lib.rs b/gstreamer-pbutils/sys/src/lib.rs index 212f794c7..707b15daa 100644 --- a/gstreamer-pbutils/sys/src/lib.rs +++ b/gstreamer-pbutils/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-pbutils/sys/tests/abi.rs b/gstreamer-pbutils/sys/tests/abi.rs index 8d41492bd..1e5b7eee1 100644 --- a/gstreamer-pbutils/sys/tests/abi.rs +++ b/gstreamer-pbutils/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-pbutils/sys/tests/constant.c b/gstreamer-pbutils/sys/tests/constant.c index 4720e3c50..e9627c0c1 100644 --- a/gstreamer-pbutils/sys/tests/constant.c +++ b/gstreamer-pbutils/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-pbutils/sys/tests/layout.c b/gstreamer-pbutils/sys/tests/layout.c index 7429d6722..a918258c4 100644 --- a/gstreamer-pbutils/sys/tests/layout.c +++ b/gstreamer-pbutils/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-player/src/auto/player.rs b/gstreamer-player/src/auto/player.rs index 7003ffb0f..f870eca0e 100644 --- a/gstreamer-player/src/auto/player.rs +++ b/gstreamer-player/src/auto/player.rs @@ -467,7 +467,7 @@ impl Player { } #[doc(alias = "buffering")] - pub fn connect_buffering(&self, f: F) -> SignalHandlerId { + pub fn connect_buffering(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn buffering_trampoline( this: *mut ffi::GstPlayer, object: libc::c_int, @@ -490,7 +490,7 @@ impl Player { } #[doc(alias = "end-of-stream")] - pub fn connect_end_of_stream(&self, f: F) -> SignalHandlerId { + pub fn connect_end_of_stream(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn end_of_stream_trampoline( this: *mut ffi::GstPlayer, f: glib::ffi::gpointer, @@ -512,7 +512,7 @@ impl Player { } #[doc(alias = "error")] - pub fn connect_error( + pub fn connect_error( &self, f: F, ) -> SignalHandlerId { @@ -538,7 +538,7 @@ impl Player { } #[doc(alias = "media-info-updated")] - pub fn connect_media_info_updated( + pub fn connect_media_info_updated( &self, f: F, ) -> SignalHandlerId { @@ -566,7 +566,7 @@ impl Player { } #[doc(alias = "mute-changed")] - pub fn connect_mute_changed(&self, f: F) -> SignalHandlerId { + pub fn connect_mute_changed(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn mute_changed_trampoline( this: *mut ffi::GstPlayer, f: glib::ffi::gpointer, @@ -588,7 +588,7 @@ impl Player { } #[doc(alias = "state-changed")] - pub fn connect_state_changed( + pub fn connect_state_changed( &self, f: F, ) -> SignalHandlerId { @@ -616,10 +616,7 @@ impl Player { } #[doc(alias = "uri-loaded")] - pub fn connect_uri_loaded( - &self, - f: F, - ) -> SignalHandlerId { + pub fn connect_uri_loaded(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn uri_loaded_trampoline( this: *mut ffi::GstPlayer, object: *mut libc::c_char, @@ -645,7 +642,7 @@ impl Player { } #[doc(alias = "video-dimensions-changed")] - pub fn connect_video_dimensions_changed( + pub fn connect_video_dimensions_changed( &self, f: F, ) -> SignalHandlerId { @@ -674,7 +671,7 @@ impl Player { } #[doc(alias = "volume-changed")] - pub fn connect_volume_changed(&self, f: F) -> SignalHandlerId { + pub fn connect_volume_changed(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn volume_changed_trampoline( this: *mut ffi::GstPlayer, f: glib::ffi::gpointer, @@ -696,7 +693,7 @@ impl Player { } #[doc(alias = "warning")] - pub fn connect_warning( + pub fn connect_warning( &self, f: F, ) -> SignalHandlerId { @@ -722,7 +719,7 @@ impl Player { } #[doc(alias = "audio-video-offset")] - pub fn connect_audio_video_offset_notify( + pub fn connect_audio_video_offset_notify( &self, f: F, ) -> SignalHandlerId { @@ -750,7 +747,7 @@ impl Player { } #[doc(alias = "current-audio-track")] - pub fn connect_current_audio_track_notify( + pub fn connect_current_audio_track_notify( &self, f: F, ) -> SignalHandlerId { @@ -778,7 +775,7 @@ impl Player { } #[doc(alias = "current-subtitle-track")] - pub fn connect_current_subtitle_track_notify( + pub fn connect_current_subtitle_track_notify( &self, f: F, ) -> SignalHandlerId { @@ -806,7 +803,7 @@ impl Player { } #[doc(alias = "current-video-track")] - pub fn connect_current_video_track_notify( + pub fn connect_current_video_track_notify( &self, f: F, ) -> SignalHandlerId { @@ -834,7 +831,7 @@ impl Player { } #[doc(alias = "duration")] - pub fn connect_duration_notify( + pub fn connect_duration_notify( &self, f: F, ) -> SignalHandlerId { @@ -860,7 +857,7 @@ impl Player { } #[doc(alias = "media-info")] - pub fn connect_media_info_notify( + pub fn connect_media_info_notify( &self, f: F, ) -> SignalHandlerId { @@ -888,7 +885,7 @@ impl Player { } #[doc(alias = "mute")] - pub fn connect_mute_notify( + pub fn connect_mute_notify( &self, f: F, ) -> SignalHandlerId { @@ -914,7 +911,7 @@ impl Player { } #[doc(alias = "pipeline")] - pub fn connect_pipeline_notify( + pub fn connect_pipeline_notify( &self, f: F, ) -> SignalHandlerId { @@ -940,7 +937,7 @@ impl Player { } #[doc(alias = "position")] - pub fn connect_position_notify( + pub fn connect_position_notify( &self, f: F, ) -> SignalHandlerId { @@ -966,7 +963,7 @@ impl Player { } #[doc(alias = "rate")] - pub fn connect_rate_notify( + pub fn connect_rate_notify( &self, f: F, ) -> SignalHandlerId { @@ -994,7 +991,7 @@ impl Player { #[cfg(any(feature = "v1_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] #[doc(alias = "subtitle-video-offset")] - pub fn connect_subtitle_video_offset_notify( + pub fn connect_subtitle_video_offset_notify( &self, f: F, ) -> SignalHandlerId { @@ -1022,7 +1019,7 @@ impl Player { } #[doc(alias = "suburi")] - pub fn connect_suburi_notify( + pub fn connect_suburi_notify( &self, f: F, ) -> SignalHandlerId { @@ -1048,7 +1045,7 @@ impl Player { } #[doc(alias = "uri")] - pub fn connect_uri_notify( + pub fn connect_uri_notify( &self, f: F, ) -> SignalHandlerId { @@ -1074,7 +1071,7 @@ impl Player { } #[doc(alias = "video-multiview-flags")] - pub fn connect_video_multiview_flags_notify( + pub fn connect_video_multiview_flags_notify( &self, f: F, ) -> SignalHandlerId { @@ -1102,7 +1099,7 @@ impl Player { } #[doc(alias = "video-multiview-mode")] - pub fn connect_video_multiview_mode_notify( + pub fn connect_video_multiview_mode_notify( &self, f: F, ) -> SignalHandlerId { @@ -1130,7 +1127,7 @@ impl Player { } #[doc(alias = "volume")] - pub fn connect_volume_notify( + pub fn connect_volume_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-player/src/auto/player_video_overlay_video_renderer.rs b/gstreamer-player/src/auto/player_video_overlay_video_renderer.rs index 774188545..ef8692ff3 100644 --- a/gstreamer-player/src/auto/player_video_overlay_video_renderer.rs +++ b/gstreamer-player/src/auto/player_video_overlay_video_renderer.rs @@ -115,9 +115,7 @@ impl PlayerVideoOverlayVideoRenderer { //} #[doc(alias = "video-sink")] - pub fn connect_video_sink_notify< - F: Fn(&PlayerVideoOverlayVideoRenderer) + Send + Sync + 'static, - >( + pub fn connect_video_sink_notify( &self, f: F, ) -> SignalHandlerId { @@ -145,9 +143,7 @@ impl PlayerVideoOverlayVideoRenderer { } #[doc(alias = "window-handle")] - pub fn connect_window_handle_notify< - F: Fn(&PlayerVideoOverlayVideoRenderer) + Send + Sync + 'static, - >( + pub fn connect_window_handle_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-player/src/auto/versions.txt b/gstreamer-player/src/auto/versions.txt index 524f5becf..81256bc01 100644 --- a/gstreamer-player/src/auto/versions.txt +++ b/gstreamer-player/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +Generated by gir (https://github.com/gtk-rs/gir @ de679ce) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-player/sys/build.rs b/gstreamer-player/sys/build.rs index 9642c8d86..1eecb687a 100644 --- a/gstreamer-player/sys/build.rs +++ b/gstreamer-player/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-player/sys/src/lib.rs b/gstreamer-player/sys/src/lib.rs index c627525b0..e99d99ac4 100644 --- a/gstreamer-player/sys/src/lib.rs +++ b/gstreamer-player/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-player/sys/tests/abi.rs b/gstreamer-player/sys/tests/abi.rs index 26de2e060..fad2ee59d 100644 --- a/gstreamer-player/sys/tests/abi.rs +++ b/gstreamer-player/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-player/sys/tests/constant.c b/gstreamer-player/sys/tests/constant.c index b4d0f0daa..f8ee3d7a0 100644 --- a/gstreamer-player/sys/tests/constant.c +++ b/gstreamer-player/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-player/sys/tests/layout.c b/gstreamer-player/sys/tests/layout.c index 86cf750da..544950daa 100644 --- a/gstreamer-player/sys/tests/layout.c +++ b/gstreamer-player/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtp/src/auto/versions.txt b/gstreamer-rtp/src/auto/versions.txt index 524f5becf..81256bc01 100644 --- a/gstreamer-rtp/src/auto/versions.txt +++ b/gstreamer-rtp/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +Generated by gir (https://github.com/gtk-rs/gir @ de679ce) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-rtp/sys/build.rs b/gstreamer-rtp/sys/build.rs index 9642c8d86..1eecb687a 100644 --- a/gstreamer-rtp/sys/build.rs +++ b/gstreamer-rtp/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtp/sys/src/lib.rs b/gstreamer-rtp/sys/src/lib.rs index f2b3d94f5..db1f5edd7 100644 --- a/gstreamer-rtp/sys/src/lib.rs +++ b/gstreamer-rtp/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtp/sys/tests/abi.rs b/gstreamer-rtp/sys/tests/abi.rs index 05f199463..7e85aa57b 100644 --- a/gstreamer-rtp/sys/tests/abi.rs +++ b/gstreamer-rtp/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtp/sys/tests/constant.c b/gstreamer-rtp/sys/tests/constant.c index acfaee7e7..f26e71211 100644 --- a/gstreamer-rtp/sys/tests/constant.c +++ b/gstreamer-rtp/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtp/sys/tests/layout.c b/gstreamer-rtp/sys/tests/layout.c index 6ee852d9e..c723d36af 100644 --- a/gstreamer-rtp/sys/tests/layout.c +++ b/gstreamer-rtp/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/src/auto/rtsp_auth.rs b/gstreamer-rtsp-server/src/auto/rtsp_auth.rs index 4065e5d45..0be043b4f 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_auth.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_auth.rs @@ -297,7 +297,7 @@ impl> RTSPAuthExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn accept_certificate_trampoline< - P, + P: IsA, F: Fn(&P, &gio::TlsConnection, &gio::TlsCertificate, gio::TlsCertificateFlags) -> bool + Send + Sync @@ -308,10 +308,7 @@ impl> RTSPAuthExt for O { peer_cert: *mut gio::ffi::GTlsCertificate, errors: gio::ffi::GTlsCertificateFlags, f: glib::ffi::gpointer, - ) -> glib::ffi::gboolean - where - P: IsA, - { + ) -> glib::ffi::gboolean { let f: &F = &*(f as *const F); f( &RTSPAuth::from_glib_borrow(this).unsafe_cast_ref(), diff --git a/gstreamer-rtsp-server/src/auto/rtsp_client.rs b/gstreamer-rtsp-server/src/auto/rtsp_client.rs index e352bd250..78579129e 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_client.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_client.rs @@ -565,15 +565,13 @@ impl> RTSPClientExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn announce_request_trampoline< - P, + P: IsA, F: Fn(&P, &RTSPContext) + Send + Sync + 'static, >( this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &RTSPClient::from_glib_borrow(this).unsafe_cast_ref(), @@ -600,12 +598,13 @@ impl> RTSPClientExt for O { #[doc(alias = "closed")] fn connect_closed(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn closed_trampoline( + unsafe extern "C" fn closed_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstRTSPClient, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPClient::from_glib_borrow(this).unsafe_cast_ref()) } @@ -628,15 +627,13 @@ impl> RTSPClientExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn describe_request_trampoline< - P, + P: IsA, F: Fn(&P, &RTSPContext) + Send + Sync + 'static, >( this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &RTSPClient::from_glib_borrow(this).unsafe_cast_ref(), @@ -662,15 +659,13 @@ impl> RTSPClientExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn get_parameter_request_trampoline< - P, + P: IsA, F: Fn(&P, &RTSPContext) + Send + Sync + 'static, >( this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &RTSPClient::from_glib_borrow(this).unsafe_cast_ref(), @@ -696,15 +691,13 @@ impl> RTSPClientExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn handle_response_trampoline< - P, + P: IsA, F: Fn(&P, &RTSPContext) + Send + Sync + 'static, >( this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &RTSPClient::from_glib_borrow(this).unsafe_cast_ref(), @@ -730,15 +723,13 @@ impl> RTSPClientExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn new_session_trampoline< - P, + P: IsA, F: Fn(&P, &RTSPSession) + Send + Sync + 'static, >( this: *mut ffi::GstRTSPClient, object: *mut ffi::GstRTSPSession, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &RTSPClient::from_glib_borrow(this).unsafe_cast_ref(), @@ -764,15 +755,13 @@ impl> RTSPClientExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn options_request_trampoline< - P, + P: IsA, F: Fn(&P, &RTSPContext) + Send + Sync + 'static, >( this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &RTSPClient::from_glib_borrow(this).unsafe_cast_ref(), @@ -798,15 +787,13 @@ impl> RTSPClientExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn pause_request_trampoline< - P, + P: IsA, F: Fn(&P, &RTSPContext) + Send + Sync + 'static, >( this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &RTSPClient::from_glib_borrow(this).unsafe_cast_ref(), @@ -832,15 +819,13 @@ impl> RTSPClientExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn play_request_trampoline< - P, + P: IsA, F: Fn(&P, &RTSPContext) + Send + Sync + 'static, >( this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &RTSPClient::from_glib_borrow(this).unsafe_cast_ref(), @@ -870,16 +855,13 @@ impl> RTSPClientExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn pre_announce_request_trampoline< - P, + P: IsA, F: Fn(&P, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static, >( this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib::ffi::gpointer, - ) -> gst_rtsp::ffi::GstRTSPStatusCode - where - P: IsA, - { + ) -> gst_rtsp::ffi::GstRTSPStatusCode { let f: &F = &*(f as *const F); f( &RTSPClient::from_glib_borrow(this).unsafe_cast_ref(), @@ -910,16 +892,13 @@ impl> RTSPClientExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn pre_describe_request_trampoline< - P, + P: IsA, F: Fn(&P, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static, >( this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib::ffi::gpointer, - ) -> gst_rtsp::ffi::GstRTSPStatusCode - where - P: IsA, - { + ) -> gst_rtsp::ffi::GstRTSPStatusCode { let f: &F = &*(f as *const F); f( &RTSPClient::from_glib_borrow(this).unsafe_cast_ref(), @@ -950,16 +929,13 @@ impl> RTSPClientExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn pre_get_parameter_request_trampoline< - P, + P: IsA, F: Fn(&P, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static, >( this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib::ffi::gpointer, - ) -> gst_rtsp::ffi::GstRTSPStatusCode - where - P: IsA, - { + ) -> gst_rtsp::ffi::GstRTSPStatusCode { let f: &F = &*(f as *const F); f( &RTSPClient::from_glib_borrow(this).unsafe_cast_ref(), @@ -990,16 +966,13 @@ impl> RTSPClientExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn pre_options_request_trampoline< - P, + P: IsA, F: Fn(&P, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static, >( this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib::ffi::gpointer, - ) -> gst_rtsp::ffi::GstRTSPStatusCode - where - P: IsA, - { + ) -> gst_rtsp::ffi::GstRTSPStatusCode { let f: &F = &*(f as *const F); f( &RTSPClient::from_glib_borrow(this).unsafe_cast_ref(), @@ -1030,16 +1003,13 @@ impl> RTSPClientExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn pre_pause_request_trampoline< - P, + P: IsA, F: Fn(&P, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static, >( this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib::ffi::gpointer, - ) -> gst_rtsp::ffi::GstRTSPStatusCode - where - P: IsA, - { + ) -> gst_rtsp::ffi::GstRTSPStatusCode { let f: &F = &*(f as *const F); f( &RTSPClient::from_glib_borrow(this).unsafe_cast_ref(), @@ -1070,16 +1040,13 @@ impl> RTSPClientExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn pre_play_request_trampoline< - P, + P: IsA, F: Fn(&P, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static, >( this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib::ffi::gpointer, - ) -> gst_rtsp::ffi::GstRTSPStatusCode - where - P: IsA, - { + ) -> gst_rtsp::ffi::GstRTSPStatusCode { let f: &F = &*(f as *const F); f( &RTSPClient::from_glib_borrow(this).unsafe_cast_ref(), @@ -1110,16 +1077,13 @@ impl> RTSPClientExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn pre_record_request_trampoline< - P, + P: IsA, F: Fn(&P, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static, >( this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib::ffi::gpointer, - ) -> gst_rtsp::ffi::GstRTSPStatusCode - where - P: IsA, - { + ) -> gst_rtsp::ffi::GstRTSPStatusCode { let f: &F = &*(f as *const F); f( &RTSPClient::from_glib_borrow(this).unsafe_cast_ref(), @@ -1150,16 +1114,13 @@ impl> RTSPClientExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn pre_set_parameter_request_trampoline< - P, + P: IsA, F: Fn(&P, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static, >( this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib::ffi::gpointer, - ) -> gst_rtsp::ffi::GstRTSPStatusCode - where - P: IsA, - { + ) -> gst_rtsp::ffi::GstRTSPStatusCode { let f: &F = &*(f as *const F); f( &RTSPClient::from_glib_borrow(this).unsafe_cast_ref(), @@ -1190,16 +1151,13 @@ impl> RTSPClientExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn pre_setup_request_trampoline< - P, + P: IsA, F: Fn(&P, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static, >( this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib::ffi::gpointer, - ) -> gst_rtsp::ffi::GstRTSPStatusCode - where - P: IsA, - { + ) -> gst_rtsp::ffi::GstRTSPStatusCode { let f: &F = &*(f as *const F); f( &RTSPClient::from_glib_borrow(this).unsafe_cast_ref(), @@ -1230,16 +1188,13 @@ impl> RTSPClientExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn pre_teardown_request_trampoline< - P, + P: IsA, F: Fn(&P, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static, >( this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib::ffi::gpointer, - ) -> gst_rtsp::ffi::GstRTSPStatusCode - where - P: IsA, - { + ) -> gst_rtsp::ffi::GstRTSPStatusCode { let f: &F = &*(f as *const F); f( &RTSPClient::from_glib_borrow(this).unsafe_cast_ref(), @@ -1266,15 +1221,13 @@ impl> RTSPClientExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn record_request_trampoline< - P, + P: IsA, F: Fn(&P, &RTSPContext) + Send + Sync + 'static, >( this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &RTSPClient::from_glib_borrow(this).unsafe_cast_ref(), @@ -1305,15 +1258,13 @@ impl> RTSPClientExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn set_parameter_request_trampoline< - P, + P: IsA, F: Fn(&P, &RTSPContext) + Send + Sync + 'static, >( this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &RTSPClient::from_glib_borrow(this).unsafe_cast_ref(), @@ -1339,15 +1290,13 @@ impl> RTSPClientExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn setup_request_trampoline< - P, + P: IsA, F: Fn(&P, &RTSPContext) + Send + Sync + 'static, >( this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &RTSPClient::from_glib_borrow(this).unsafe_cast_ref(), @@ -1373,15 +1322,13 @@ impl> RTSPClientExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn teardown_request_trampoline< - P, + P: IsA, F: Fn(&P, &RTSPContext) + Send + Sync + 'static, >( this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &RTSPClient::from_glib_borrow(this).unsafe_cast_ref(), @@ -1406,13 +1353,14 @@ impl> RTSPClientExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_drop_backlog_trampoline( + unsafe extern "C" fn notify_drop_backlog_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstRTSPClient, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPClient::from_glib_borrow(this).unsafe_cast_ref()) } @@ -1434,13 +1382,14 @@ impl> RTSPClientExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_mount_points_trampoline( + unsafe extern "C" fn notify_mount_points_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstRTSPClient, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPClient::from_glib_borrow(this).unsafe_cast_ref()) } @@ -1463,15 +1412,13 @@ impl> RTSPClientExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn notify_post_session_timeout_trampoline< - P, + P: IsA, F: Fn(&P) + Send + Sync + 'static, >( this: *mut ffi::GstRTSPClient, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPClient::from_glib_borrow(this).unsafe_cast_ref()) } @@ -1493,13 +1440,14 @@ impl> RTSPClientExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_session_pool_trampoline( + unsafe extern "C" fn notify_session_pool_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstRTSPClient, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPClient::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer-rtsp-server/src/auto/rtsp_media.rs b/gstreamer-rtsp-server/src/auto/rtsp_media.rs index d7dc2b8a4..8fbc49d70 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_media.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_media.rs @@ -1123,13 +1123,14 @@ impl> RTSPMediaExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn new_state_trampoline( + unsafe extern "C" fn new_state_trampoline< + P: IsA, + F: Fn(&P, i32) + Send + Sync + 'static, + >( this: *mut ffi::GstRTSPMedia, object: libc::c_int, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPMedia::from_glib_borrow(this).unsafe_cast_ref(), object) } @@ -1152,15 +1153,13 @@ impl> RTSPMediaExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn new_stream_trampoline< - P, + P: IsA, F: Fn(&P, &RTSPStream) + Send + Sync + 'static, >( this: *mut ffi::GstRTSPMedia, object: *mut ffi::GstRTSPStream, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &RTSPMedia::from_glib_borrow(this).unsafe_cast_ref(), @@ -1182,12 +1181,13 @@ impl> RTSPMediaExt for O { #[doc(alias = "prepared")] fn connect_prepared(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn prepared_trampoline( + unsafe extern "C" fn prepared_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstRTSPMedia, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPMedia::from_glib_borrow(this).unsafe_cast_ref()) } @@ -1210,15 +1210,13 @@ impl> RTSPMediaExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn removed_stream_trampoline< - P, + P: IsA, F: Fn(&P, &RTSPStream) + Send + Sync + 'static, >( this: *mut ffi::GstRTSPMedia, object: *mut ffi::GstRTSPStream, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &RTSPMedia::from_glib_borrow(this).unsafe_cast_ref(), @@ -1243,13 +1241,14 @@ impl> RTSPMediaExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn target_state_trampoline( + unsafe extern "C" fn target_state_trampoline< + P: IsA, + F: Fn(&P, i32) + Send + Sync + 'static, + >( this: *mut ffi::GstRTSPMedia, object: libc::c_int, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPMedia::from_glib_borrow(this).unsafe_cast_ref(), object) } @@ -1268,12 +1267,13 @@ impl> RTSPMediaExt for O { #[doc(alias = "unprepared")] fn connect_unprepared(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn unprepared_trampoline( + unsafe extern "C" fn unprepared_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstRTSPMedia, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPMedia::from_glib_borrow(this).unsafe_cast_ref()) } @@ -1296,15 +1296,13 @@ impl> RTSPMediaExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn notify_bind_mcast_address_trampoline< - P, + P: IsA, F: Fn(&P) + Send + Sync + 'static, >( this: *mut ffi::GstRTSPMedia, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPMedia::from_glib_borrow(this).unsafe_cast_ref()) } @@ -1326,13 +1324,14 @@ impl> RTSPMediaExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_buffer_size_trampoline( + unsafe extern "C" fn notify_buffer_size_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstRTSPMedia, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPMedia::from_glib_borrow(this).unsafe_cast_ref()) } @@ -1351,13 +1350,14 @@ impl> RTSPMediaExt for O { #[doc(alias = "clock")] fn connect_clock_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_clock_trampoline( + unsafe extern "C" fn notify_clock_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstRTSPMedia, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPMedia::from_glib_borrow(this).unsafe_cast_ref()) } @@ -1379,13 +1379,14 @@ impl> RTSPMediaExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_dscp_qos_trampoline( + unsafe extern "C" fn notify_dscp_qos_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstRTSPMedia, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPMedia::from_glib_borrow(this).unsafe_cast_ref()) } @@ -1407,13 +1408,14 @@ impl> RTSPMediaExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_eos_shutdown_trampoline( + unsafe extern "C" fn notify_eos_shutdown_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstRTSPMedia, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPMedia::from_glib_borrow(this).unsafe_cast_ref()) } @@ -1435,13 +1437,14 @@ impl> RTSPMediaExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_latency_trampoline( + unsafe extern "C" fn notify_latency_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstRTSPMedia, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPMedia::from_glib_borrow(this).unsafe_cast_ref()) } @@ -1463,13 +1466,14 @@ impl> RTSPMediaExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_max_mcast_ttl_trampoline( + unsafe extern "C" fn notify_max_mcast_ttl_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstRTSPMedia, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPMedia::from_glib_borrow(this).unsafe_cast_ref()) } @@ -1491,13 +1495,14 @@ impl> RTSPMediaExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_profiles_trampoline( + unsafe extern "C" fn notify_profiles_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstRTSPMedia, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPMedia::from_glib_borrow(this).unsafe_cast_ref()) } @@ -1519,13 +1524,14 @@ impl> RTSPMediaExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_protocols_trampoline( + unsafe extern "C" fn notify_protocols_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstRTSPMedia, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPMedia::from_glib_borrow(this).unsafe_cast_ref()) } @@ -1547,13 +1553,14 @@ impl> RTSPMediaExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_reusable_trampoline( + unsafe extern "C" fn notify_reusable_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstRTSPMedia, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPMedia::from_glib_borrow(this).unsafe_cast_ref()) } @@ -1572,13 +1579,14 @@ impl> RTSPMediaExt for O { #[doc(alias = "shared")] fn connect_shared_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_shared_trampoline( + unsafe extern "C" fn notify_shared_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstRTSPMedia, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPMedia::from_glib_borrow(this).unsafe_cast_ref()) } @@ -1601,15 +1609,13 @@ impl> RTSPMediaExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn notify_stop_on_disconnect_trampoline< - P, + P: IsA, F: Fn(&P) + Send + Sync + 'static, >( this: *mut ffi::GstRTSPMedia, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPMedia::from_glib_borrow(this).unsafe_cast_ref()) } @@ -1631,13 +1637,14 @@ impl> RTSPMediaExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_suspend_mode_trampoline( + unsafe extern "C" fn notify_suspend_mode_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstRTSPMedia, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPMedia::from_glib_borrow(this).unsafe_cast_ref()) } @@ -1659,13 +1666,14 @@ impl> RTSPMediaExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_time_provider_trampoline( + unsafe extern "C" fn notify_time_provider_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstRTSPMedia, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPMedia::from_glib_borrow(this).unsafe_cast_ref()) } @@ -1688,15 +1696,13 @@ impl> RTSPMediaExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn notify_transport_mode_trampoline< - P, + P: IsA, F: Fn(&P) + Send + Sync + 'static, >( this: *mut ffi::GstRTSPMedia, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPMedia::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer-rtsp-server/src/auto/rtsp_media_factory.rs b/gstreamer-rtsp-server/src/auto/rtsp_media_factory.rs index 564543591..f6d254152 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_media_factory.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_media_factory.rs @@ -777,15 +777,13 @@ impl> RTSPMediaFactoryExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn media_configure_trampoline< - P, + P: IsA, F: Fn(&P, &RTSPMedia) + Send + Sync + 'static, >( this: *mut ffi::GstRTSPMediaFactory, object: *mut ffi::GstRTSPMedia, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &RTSPMediaFactory::from_glib_borrow(this).unsafe_cast_ref(), @@ -811,15 +809,13 @@ impl> RTSPMediaFactoryExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn media_constructed_trampoline< - P, + P: IsA, F: Fn(&P, &RTSPMedia) + Send + Sync + 'static, >( this: *mut ffi::GstRTSPMediaFactory, object: *mut ffi::GstRTSPMedia, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &RTSPMediaFactory::from_glib_borrow(this).unsafe_cast_ref(), @@ -845,15 +841,13 @@ impl> RTSPMediaFactoryExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn notify_bind_mcast_address_trampoline< - P, + P: IsA, F: Fn(&P) + Send + Sync + 'static, >( this: *mut ffi::GstRTSPMediaFactory, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPMediaFactory::from_glib_borrow(this).unsafe_cast_ref()) } @@ -875,13 +869,14 @@ impl> RTSPMediaFactoryExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_buffer_size_trampoline( + unsafe extern "C" fn notify_buffer_size_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstRTSPMediaFactory, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPMediaFactory::from_glib_borrow(this).unsafe_cast_ref()) } @@ -900,13 +895,14 @@ impl> RTSPMediaFactoryExt for O { #[doc(alias = "clock")] fn connect_clock_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_clock_trampoline( + unsafe extern "C" fn notify_clock_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstRTSPMediaFactory, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPMediaFactory::from_glib_borrow(this).unsafe_cast_ref()) } @@ -928,13 +924,14 @@ impl> RTSPMediaFactoryExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_dscp_qos_trampoline( + unsafe extern "C" fn notify_dscp_qos_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstRTSPMediaFactory, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPMediaFactory::from_glib_borrow(this).unsafe_cast_ref()) } @@ -956,13 +953,14 @@ impl> RTSPMediaFactoryExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_eos_shutdown_trampoline( + unsafe extern "C" fn notify_eos_shutdown_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstRTSPMediaFactory, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPMediaFactory::from_glib_borrow(this).unsafe_cast_ref()) } @@ -984,13 +982,14 @@ impl> RTSPMediaFactoryExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_latency_trampoline( + unsafe extern "C" fn notify_latency_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstRTSPMediaFactory, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPMediaFactory::from_glib_borrow(this).unsafe_cast_ref()) } @@ -1009,13 +1008,14 @@ impl> RTSPMediaFactoryExt for O { #[doc(alias = "launch")] fn connect_launch_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_launch_trampoline( + unsafe extern "C" fn notify_launch_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstRTSPMediaFactory, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPMediaFactory::from_glib_borrow(this).unsafe_cast_ref()) } @@ -1037,13 +1037,14 @@ impl> RTSPMediaFactoryExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_max_mcast_ttl_trampoline( + unsafe extern "C" fn notify_max_mcast_ttl_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstRTSPMediaFactory, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPMediaFactory::from_glib_borrow(this).unsafe_cast_ref()) } @@ -1065,13 +1066,14 @@ impl> RTSPMediaFactoryExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_profiles_trampoline( + unsafe extern "C" fn notify_profiles_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstRTSPMediaFactory, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPMediaFactory::from_glib_borrow(this).unsafe_cast_ref()) } @@ -1093,13 +1095,14 @@ impl> RTSPMediaFactoryExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_protocols_trampoline( + unsafe extern "C" fn notify_protocols_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstRTSPMediaFactory, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPMediaFactory::from_glib_borrow(this).unsafe_cast_ref()) } @@ -1118,13 +1121,14 @@ impl> RTSPMediaFactoryExt for O { #[doc(alias = "shared")] fn connect_shared_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_shared_trampoline( + unsafe extern "C" fn notify_shared_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstRTSPMediaFactory, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPMediaFactory::from_glib_borrow(this).unsafe_cast_ref()) } @@ -1147,15 +1151,13 @@ impl> RTSPMediaFactoryExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn notify_stop_on_disconnect_trampoline< - P, + P: IsA, F: Fn(&P) + Send + Sync + 'static, >( this: *mut ffi::GstRTSPMediaFactory, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPMediaFactory::from_glib_borrow(this).unsafe_cast_ref()) } @@ -1177,13 +1179,14 @@ impl> RTSPMediaFactoryExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_suspend_mode_trampoline( + unsafe extern "C" fn notify_suspend_mode_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstRTSPMediaFactory, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPMediaFactory::from_glib_borrow(this).unsafe_cast_ref()) } @@ -1206,15 +1209,13 @@ impl> RTSPMediaFactoryExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn notify_transport_mode_trampoline< - P, + P: IsA, F: Fn(&P) + Send + Sync + 'static, >( this: *mut ffi::GstRTSPMediaFactory, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPMediaFactory::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer-rtsp-server/src/auto/rtsp_media_factory_uri.rs b/gstreamer-rtsp-server/src/auto/rtsp_media_factory_uri.rs index 4fe191734..34d7b63e5 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_media_factory_uri.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_media_factory_uri.rs @@ -109,13 +109,14 @@ impl> RTSPMediaFactoryURIExt for O { #[doc(alias = "uri")] fn connect_uri_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_uri_trampoline( + unsafe extern "C" fn notify_uri_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstRTSPMediaFactoryURI, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPMediaFactoryURI::from_glib_borrow(this).unsafe_cast_ref()) } @@ -137,13 +138,14 @@ impl> RTSPMediaFactoryURIExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_use_gstpay_trampoline( + unsafe extern "C" fn notify_use_gstpay_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstRTSPMediaFactoryURI, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPMediaFactoryURI::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer-rtsp-server/src/auto/rtsp_server.rs b/gstreamer-rtsp-server/src/auto/rtsp_server.rs index c6ad38048..856d9ece8 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_server.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_server.rs @@ -468,15 +468,13 @@ impl> RTSPServerExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn client_connected_trampoline< - P, + P: IsA, F: Fn(&P, &RTSPClient) + Send + Sync + 'static, >( this: *mut ffi::GstRTSPServer, object: *mut ffi::GstRTSPClient, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &RTSPServer::from_glib_borrow(this).unsafe_cast_ref(), @@ -501,13 +499,14 @@ impl> RTSPServerExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_address_trampoline( + unsafe extern "C" fn notify_address_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstRTSPServer, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPServer::from_glib_borrow(this).unsafe_cast_ref()) } @@ -529,13 +528,14 @@ impl> RTSPServerExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_backlog_trampoline( + unsafe extern "C" fn notify_backlog_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstRTSPServer, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPServer::from_glib_borrow(this).unsafe_cast_ref()) } @@ -557,13 +557,14 @@ impl> RTSPServerExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_bound_port_trampoline( + unsafe extern "C" fn notify_bound_port_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstRTSPServer, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPServer::from_glib_borrow(this).unsafe_cast_ref()) } @@ -586,15 +587,13 @@ impl> RTSPServerExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn notify_content_length_limit_trampoline< - P, + P: IsA, F: Fn(&P) + Send + Sync + 'static, >( this: *mut ffi::GstRTSPServer, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPServer::from_glib_borrow(this).unsafe_cast_ref()) } @@ -616,13 +615,14 @@ impl> RTSPServerExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_mount_points_trampoline( + unsafe extern "C" fn notify_mount_points_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstRTSPServer, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPServer::from_glib_borrow(this).unsafe_cast_ref()) } @@ -644,13 +644,14 @@ impl> RTSPServerExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_service_trampoline( + unsafe extern "C" fn notify_service_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstRTSPServer, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPServer::from_glib_borrow(this).unsafe_cast_ref()) } @@ -672,13 +673,14 @@ impl> RTSPServerExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_session_pool_trampoline( + unsafe extern "C" fn notify_session_pool_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstRTSPServer, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPServer::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer-rtsp-server/src/auto/rtsp_session.rs b/gstreamer-rtsp-server/src/auto/rtsp_session.rs index eb3e63056..0bb84ab49 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_session.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_session.rs @@ -324,13 +324,14 @@ impl> RTSPSessionExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_extra_timeout_trampoline( + unsafe extern "C" fn notify_extra_timeout_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstRTSPSession, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPSession::from_glib_borrow(this).unsafe_cast_ref()) } @@ -352,13 +353,14 @@ impl> RTSPSessionExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_timeout_trampoline( + unsafe extern "C" fn notify_timeout_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstRTSPSession, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPSession::from_glib_borrow(this).unsafe_cast_ref()) } @@ -381,15 +383,13 @@ impl> RTSPSessionExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn notify_timeout_always_visible_trampoline< - P, + P: IsA, F: Fn(&P) + Send + Sync + 'static, >( this: *mut ffi::GstRTSPSession, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPSession::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer-rtsp-server/src/auto/rtsp_session_pool.rs b/gstreamer-rtsp-server/src/auto/rtsp_session_pool.rs index 36fda1a1f..e14375869 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_session_pool.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_session_pool.rs @@ -182,15 +182,13 @@ impl> RTSPSessionPoolExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn session_removed_trampoline< - P, + P: IsA, F: Fn(&P, &RTSPSession) + Send + Sync + 'static, >( this: *mut ffi::GstRTSPSessionPool, object: *mut ffi::GstRTSPSession, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &RTSPSessionPool::from_glib_borrow(this).unsafe_cast_ref(), @@ -215,13 +213,14 @@ impl> RTSPSessionPoolExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_max_sessions_trampoline( + unsafe extern "C" fn notify_max_sessions_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstRTSPSessionPool, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPSessionPool::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer-rtsp-server/src/auto/rtsp_stream.rs b/gstreamer-rtsp-server/src/auto/rtsp_stream.rs index 8affbf3f9..d2b9e232f 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_stream.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_stream.rs @@ -1265,15 +1265,13 @@ impl> RTSPStreamExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn new_rtcp_encoder_trampoline< - P, + P: IsA, F: Fn(&P, &gst::Element) + Send + Sync + 'static, >( this: *mut ffi::GstRTSPStream, object: *mut gst::ffi::GstElement, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &RTSPStream::from_glib_borrow(this).unsafe_cast_ref(), @@ -1299,15 +1297,13 @@ impl> RTSPStreamExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn new_rtp_encoder_trampoline< - P, + P: IsA, F: Fn(&P, &gst::Element) + Send + Sync + 'static, >( this: *mut ffi::GstRTSPStream, object: *mut gst::ffi::GstElement, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &RTSPStream::from_glib_borrow(this).unsafe_cast_ref(), @@ -1333,15 +1329,13 @@ impl> RTSPStreamExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn new_rtp_rtcp_decoder_trampoline< - P, + P: IsA, F: Fn(&P, &gst::Element) + Send + Sync + 'static, >( this: *mut ffi::GstRTSPStream, object: *mut gst::ffi::GstElement, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &RTSPStream::from_glib_borrow(this).unsafe_cast_ref(), @@ -1366,13 +1360,14 @@ impl> RTSPStreamExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_control_trampoline( + unsafe extern "C" fn notify_control_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstRTSPStream, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPStream::from_glib_borrow(this).unsafe_cast_ref()) } @@ -1394,13 +1389,14 @@ impl> RTSPStreamExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_profiles_trampoline( + unsafe extern "C" fn notify_profiles_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstRTSPStream, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPStream::from_glib_borrow(this).unsafe_cast_ref()) } @@ -1422,13 +1418,14 @@ impl> RTSPStreamExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_protocols_trampoline( + unsafe extern "C" fn notify_protocols_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstRTSPStream, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPStream::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer-rtsp-server/src/auto/rtsp_thread_pool.rs b/gstreamer-rtsp-server/src/auto/rtsp_thread_pool.rs index 6f406e32a..8eff3745c 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_thread_pool.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_thread_pool.rs @@ -94,13 +94,14 @@ impl> RTSPThreadPoolExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_max_threads_trampoline( + unsafe extern "C" fn notify_max_threads_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstRTSPThreadPool, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&RTSPThreadPool::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer-rtsp-server/src/auto/versions.txt b/gstreamer-rtsp-server/src/auto/versions.txt index 524f5becf..81256bc01 100644 --- a/gstreamer-rtsp-server/src/auto/versions.txt +++ b/gstreamer-rtsp-server/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +Generated by gir (https://github.com/gtk-rs/gir @ de679ce) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-rtsp-server/sys/build.rs b/gstreamer-rtsp-server/sys/build.rs index 9642c8d86..1eecb687a 100644 --- a/gstreamer-rtsp-server/sys/build.rs +++ b/gstreamer-rtsp-server/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/sys/src/lib.rs b/gstreamer-rtsp-server/sys/src/lib.rs index bc5c26fdc..b7776bb8a 100644 --- a/gstreamer-rtsp-server/sys/src/lib.rs +++ b/gstreamer-rtsp-server/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/sys/tests/abi.rs b/gstreamer-rtsp-server/sys/tests/abi.rs index 605043280..72352ae39 100644 --- a/gstreamer-rtsp-server/sys/tests/abi.rs +++ b/gstreamer-rtsp-server/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/sys/tests/constant.c b/gstreamer-rtsp-server/sys/tests/constant.c index b054757da..ff4cc8847 100644 --- a/gstreamer-rtsp-server/sys/tests/constant.c +++ b/gstreamer-rtsp-server/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/sys/tests/layout.c b/gstreamer-rtsp-server/sys/tests/layout.c index 415ca7697..cd1b30cb2 100644 --- a/gstreamer-rtsp-server/sys/tests/layout.c +++ b/gstreamer-rtsp-server/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtsp/src/auto/versions.txt b/gstreamer-rtsp/src/auto/versions.txt index 524f5becf..81256bc01 100644 --- a/gstreamer-rtsp/src/auto/versions.txt +++ b/gstreamer-rtsp/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +Generated by gir (https://github.com/gtk-rs/gir @ de679ce) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-rtsp/sys/build.rs b/gstreamer-rtsp/sys/build.rs index 9642c8d86..1eecb687a 100644 --- a/gstreamer-rtsp/sys/build.rs +++ b/gstreamer-rtsp/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtsp/sys/src/lib.rs b/gstreamer-rtsp/sys/src/lib.rs index 4fc27983d..d236309ab 100644 --- a/gstreamer-rtsp/sys/src/lib.rs +++ b/gstreamer-rtsp/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtsp/sys/tests/abi.rs b/gstreamer-rtsp/sys/tests/abi.rs index 9ad38a462..65662df75 100644 --- a/gstreamer-rtsp/sys/tests/abi.rs +++ b/gstreamer-rtsp/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtsp/sys/tests/constant.c b/gstreamer-rtsp/sys/tests/constant.c index a64fae828..4638f94a6 100644 --- a/gstreamer-rtsp/sys/tests/constant.c +++ b/gstreamer-rtsp/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-rtsp/sys/tests/layout.c b/gstreamer-rtsp/sys/tests/layout.c index 81570d0b1..ca954cc6a 100644 --- a/gstreamer-rtsp/sys/tests/layout.c +++ b/gstreamer-rtsp/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-sdp/src/auto/versions.txt b/gstreamer-sdp/src/auto/versions.txt index 524f5becf..81256bc01 100644 --- a/gstreamer-sdp/src/auto/versions.txt +++ b/gstreamer-sdp/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +Generated by gir (https://github.com/gtk-rs/gir @ de679ce) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-sdp/sys/build.rs b/gstreamer-sdp/sys/build.rs index 9642c8d86..1eecb687a 100644 --- a/gstreamer-sdp/sys/build.rs +++ b/gstreamer-sdp/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-sdp/sys/src/lib.rs b/gstreamer-sdp/sys/src/lib.rs index 85716437d..16928bc4d 100644 --- a/gstreamer-sdp/sys/src/lib.rs +++ b/gstreamer-sdp/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-sdp/sys/tests/abi.rs b/gstreamer-sdp/sys/tests/abi.rs index 3d2b71694..36e7ea72a 100644 --- a/gstreamer-sdp/sys/tests/abi.rs +++ b/gstreamer-sdp/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-sdp/sys/tests/constant.c b/gstreamer-sdp/sys/tests/constant.c index 32a7fd17f..f49067f5c 100644 --- a/gstreamer-sdp/sys/tests/constant.c +++ b/gstreamer-sdp/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-sdp/sys/tests/layout.c b/gstreamer-sdp/sys/tests/layout.c index a23d1cb46..36d43fc4e 100644 --- a/gstreamer-sdp/sys/tests/layout.c +++ b/gstreamer-sdp/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-tag/sys/build.rs b/gstreamer-tag/sys/build.rs index 9642c8d86..1eecb687a 100644 --- a/gstreamer-tag/sys/build.rs +++ b/gstreamer-tag/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-tag/sys/src/lib.rs b/gstreamer-tag/sys/src/lib.rs index bcbf41c57..5763c6d34 100644 --- a/gstreamer-tag/sys/src/lib.rs +++ b/gstreamer-tag/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-tag/sys/tests/abi.rs b/gstreamer-tag/sys/tests/abi.rs index ad363d08b..9a513337a 100644 --- a/gstreamer-tag/sys/tests/abi.rs +++ b/gstreamer-tag/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-tag/sys/tests/constant.c b/gstreamer-tag/sys/tests/constant.c index 843f4f8a4..42d12ddb6 100644 --- a/gstreamer-tag/sys/tests/constant.c +++ b/gstreamer-tag/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-tag/sys/tests/layout.c b/gstreamer-tag/sys/tests/layout.c index d3289cf7f..0da68db66 100644 --- a/gstreamer-tag/sys/tests/layout.c +++ b/gstreamer-tag/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-video/src/auto/versions.txt b/gstreamer-video/src/auto/versions.txt index 524f5becf..81256bc01 100644 --- a/gstreamer-video/src/auto/versions.txt +++ b/gstreamer-video/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +Generated by gir (https://github.com/gtk-rs/gir @ de679ce) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-video/src/auto/video_decoder.rs b/gstreamer-video/src/auto/video_decoder.rs index c190b995b..baae76554 100644 --- a/gstreamer-video/src/auto/video_decoder.rs +++ b/gstreamer-video/src/auto/video_decoder.rs @@ -294,13 +294,14 @@ impl> VideoDecoderExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_max_errors_trampoline( + unsafe extern "C" fn notify_max_errors_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstVideoDecoder, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&VideoDecoder::from_glib_borrow(this).unsafe_cast_ref()) } @@ -321,13 +322,14 @@ impl> VideoDecoderExt for O { #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "qos")] fn connect_qos_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_qos_trampoline( + unsafe extern "C" fn notify_qos_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstVideoDecoder, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&VideoDecoder::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer-video/src/auto/video_encoder.rs b/gstreamer-video/src/auto/video_encoder.rs index f1c1ca83b..d1ea71c6b 100644 --- a/gstreamer-video/src/auto/video_encoder.rs +++ b/gstreamer-video/src/auto/video_encoder.rs @@ -217,15 +217,13 @@ impl> VideoEncoderExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn notify_min_force_key_unit_interval_trampoline< - P, + P: IsA, F: Fn(&P) + Send + Sync + 'static, >( this: *mut ffi::GstVideoEncoder, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&VideoEncoder::from_glib_borrow(this).unsafe_cast_ref()) } @@ -244,13 +242,14 @@ impl> VideoEncoderExt for O { #[doc(alias = "qos")] fn connect_qos_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_qos_trampoline( + unsafe extern "C" fn notify_qos_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstVideoEncoder, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&VideoEncoder::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer-video/src/auto/video_sink.rs b/gstreamer-video/src/auto/video_sink.rs index a91106227..1fb12d0ca 100644 --- a/gstreamer-video/src/auto/video_sink.rs +++ b/gstreamer-video/src/auto/video_sink.rs @@ -71,15 +71,13 @@ impl> VideoSinkExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn notify_show_preroll_frame_trampoline< - P, + P: IsA, F: Fn(&P) + Send + Sync + 'static, >( this: *mut ffi::GstVideoSink, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&VideoSink::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer-video/sys/build.rs b/gstreamer-video/sys/build.rs index 9642c8d86..1eecb687a 100644 --- a/gstreamer-video/sys/build.rs +++ b/gstreamer-video/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-video/sys/src/lib.rs b/gstreamer-video/sys/src/lib.rs index ef3cacbce..95b33597a 100644 --- a/gstreamer-video/sys/src/lib.rs +++ b/gstreamer-video/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-video/sys/tests/abi.rs b/gstreamer-video/sys/tests/abi.rs index e6f8eb64b..796b5cf3e 100644 --- a/gstreamer-video/sys/tests/abi.rs +++ b/gstreamer-video/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-video/sys/tests/constant.c b/gstreamer-video/sys/tests/constant.c index d5050ccb9..48543b954 100644 --- a/gstreamer-video/sys/tests/constant.c +++ b/gstreamer-video/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-video/sys/tests/layout.c b/gstreamer-video/sys/tests/layout.c index 478b11dce..ec90a3e18 100644 --- a/gstreamer-video/sys/tests/layout.c +++ b/gstreamer-video/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-webrtc/src/auto/versions.txt b/gstreamer-webrtc/src/auto/versions.txt index 524f5becf..81256bc01 100644 --- a/gstreamer-webrtc/src/auto/versions.txt +++ b/gstreamer-webrtc/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +Generated by gir (https://github.com/gtk-rs/gir @ de679ce) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer-webrtc/src/auto/web_rtc_data_channel.rs b/gstreamer-webrtc/src/auto/web_rtc_data_channel.rs index e49a2a09c..2f4dfb364 100644 --- a/gstreamer-webrtc/src/auto/web_rtc_data_channel.rs +++ b/gstreamer-webrtc/src/auto/web_rtc_data_channel.rs @@ -257,10 +257,7 @@ impl WebRTCDataChannel { } #[doc(alias = "close")] - pub fn connect_close( - &self, - f: F, - ) -> SignalHandlerId { + pub fn connect_close(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn close_trampoline( this: *mut ffi::GstWebRTCDataChannel, f: glib::ffi::gpointer, @@ -290,7 +287,7 @@ impl WebRTCDataChannel { } #[doc(alias = "on-buffered-amount-low")] - pub fn connect_on_buffered_amount_low( + pub fn connect_on_buffered_amount_low( &self, f: F, ) -> SignalHandlerId { @@ -317,10 +314,7 @@ impl WebRTCDataChannel { } #[doc(alias = "on-close")] - pub fn connect_on_close( - &self, - f: F, - ) -> SignalHandlerId { + pub fn connect_on_close(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn on_close_trampoline< F: Fn(&WebRTCDataChannel) + Send + Sync + 'static, >( @@ -344,7 +338,7 @@ impl WebRTCDataChannel { } #[doc(alias = "on-error")] - pub fn connect_on_error( + pub fn connect_on_error( &self, f: F, ) -> SignalHandlerId { @@ -372,9 +366,7 @@ impl WebRTCDataChannel { } #[doc(alias = "on-message-data")] - pub fn connect_on_message_data< - F: Fn(&WebRTCDataChannel, Option<&glib::Bytes>) + Send + Sync + 'static, - >( + pub fn connect_on_message_data) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId { @@ -407,9 +399,7 @@ impl WebRTCDataChannel { } #[doc(alias = "on-message-string")] - pub fn connect_on_message_string< - F: Fn(&WebRTCDataChannel, Option<&str>) + Send + Sync + 'static, - >( + pub fn connect_on_message_string) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId { @@ -442,10 +432,7 @@ impl WebRTCDataChannel { } #[doc(alias = "on-open")] - pub fn connect_on_open( - &self, - f: F, - ) -> SignalHandlerId { + pub fn connect_on_open(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn on_open_trampoline< F: Fn(&WebRTCDataChannel) + Send + Sync + 'static, >( @@ -469,9 +456,7 @@ impl WebRTCDataChannel { } #[doc(alias = "send-data")] - pub fn connect_send_data< - F: Fn(&WebRTCDataChannel, Option<&glib::Bytes>) + Send + Sync + 'static, - >( + pub fn connect_send_data) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId { @@ -512,7 +497,7 @@ impl WebRTCDataChannel { } #[doc(alias = "send-string")] - pub fn connect_send_string) + Send + Sync + 'static>( + pub fn connect_send_string) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId { @@ -553,7 +538,7 @@ impl WebRTCDataChannel { } #[doc(alias = "buffered-amount")] - pub fn connect_buffered_amount_notify( + pub fn connect_buffered_amount_notify( &self, f: F, ) -> SignalHandlerId { @@ -581,9 +566,7 @@ impl WebRTCDataChannel { } #[doc(alias = "buffered-amount-low-threshold")] - pub fn connect_buffered_amount_low_threshold_notify< - F: Fn(&WebRTCDataChannel) + Send + Sync + 'static, - >( + pub fn connect_buffered_amount_low_threshold_notify( &self, f: F, ) -> SignalHandlerId { @@ -611,7 +594,7 @@ impl WebRTCDataChannel { } #[doc(alias = "ready-state")] - pub fn connect_ready_state_notify( + pub fn connect_ready_state_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-webrtc/src/auto/web_rtcdtls_transport.rs b/gstreamer-webrtc/src/auto/web_rtcdtls_transport.rs index 89c6f8353..ec3cb4537 100644 --- a/gstreamer-webrtc/src/auto/web_rtcdtls_transport.rs +++ b/gstreamer-webrtc/src/auto/web_rtcdtls_transport.rs @@ -167,7 +167,7 @@ impl WebRTCDTLSTransport { } #[doc(alias = "certificate")] - pub fn connect_certificate_notify( + pub fn connect_certificate_notify( &self, f: F, ) -> SignalHandlerId { @@ -195,7 +195,7 @@ impl WebRTCDTLSTransport { } #[doc(alias = "client")] - pub fn connect_client_notify( + pub fn connect_client_notify( &self, f: F, ) -> SignalHandlerId { @@ -223,9 +223,7 @@ impl WebRTCDTLSTransport { } #[doc(alias = "remote-certificate")] - pub fn connect_remote_certificate_notify< - F: Fn(&WebRTCDTLSTransport) + Send + Sync + 'static, - >( + pub fn connect_remote_certificate_notify( &self, f: F, ) -> SignalHandlerId { @@ -253,7 +251,7 @@ impl WebRTCDTLSTransport { } #[doc(alias = "state")] - pub fn connect_state_notify( + pub fn connect_state_notify( &self, f: F, ) -> SignalHandlerId { @@ -281,7 +279,7 @@ impl WebRTCDTLSTransport { } #[doc(alias = "transport")] - pub fn connect_transport_notify( + pub fn connect_transport_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-webrtc/src/auto/web_rtcice_transport.rs b/gstreamer-webrtc/src/auto/web_rtcice_transport.rs index 3b611b282..bf078e5b4 100644 --- a/gstreamer-webrtc/src/auto/web_rtcice_transport.rs +++ b/gstreamer-webrtc/src/auto/web_rtcice_transport.rs @@ -109,7 +109,7 @@ impl WebRTCICETransport { } #[doc(alias = "on-new-candidate")] - pub fn connect_on_new_candidate( + pub fn connect_on_new_candidate( &self, f: F, ) -> SignalHandlerId { @@ -140,9 +140,7 @@ impl WebRTCICETransport { } #[doc(alias = "on-selected-candidate-pair-change")] - pub fn connect_on_selected_candidate_pair_change< - F: Fn(&WebRTCICETransport) + Send + Sync + 'static, - >( + pub fn connect_on_selected_candidate_pair_change( &self, f: F, ) -> SignalHandlerId { @@ -169,7 +167,7 @@ impl WebRTCICETransport { } #[doc(alias = "gathering-state")] - pub fn connect_gathering_state_notify( + pub fn connect_gathering_state_notify( &self, f: F, ) -> SignalHandlerId { @@ -197,7 +195,7 @@ impl WebRTCICETransport { } #[doc(alias = "state")] - pub fn connect_state_notify( + pub fn connect_state_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-webrtc/src/auto/web_rtcrtp_transceiver.rs b/gstreamer-webrtc/src/auto/web_rtcrtp_transceiver.rs index 49dc4f09b..0260f976a 100644 --- a/gstreamer-webrtc/src/auto/web_rtcrtp_transceiver.rs +++ b/gstreamer-webrtc/src/auto/web_rtcrtp_transceiver.rs @@ -112,7 +112,7 @@ impl WebRTCRTPTransceiver { #[cfg(any(feature = "v1_18", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] #[doc(alias = "direction")] - pub fn connect_direction_notify( + pub fn connect_direction_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer-webrtc/sys/build.rs b/gstreamer-webrtc/sys/build.rs index 9642c8d86..1eecb687a 100644 --- a/gstreamer-webrtc/sys/build.rs +++ b/gstreamer-webrtc/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-webrtc/sys/src/lib.rs b/gstreamer-webrtc/sys/src/lib.rs index 533d4fc59..799e68e79 100644 --- a/gstreamer-webrtc/sys/src/lib.rs +++ b/gstreamer-webrtc/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-webrtc/sys/tests/abi.rs b/gstreamer-webrtc/sys/tests/abi.rs index dd31ad2c3..b3c9037c3 100644 --- a/gstreamer-webrtc/sys/tests/abi.rs +++ b/gstreamer-webrtc/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-webrtc/sys/tests/constant.c b/gstreamer-webrtc/sys/tests/constant.c index 2bc2a9fc3..43e9d89e5 100644 --- a/gstreamer-webrtc/sys/tests/constant.c +++ b/gstreamer-webrtc/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer-webrtc/sys/tests/layout.c b/gstreamer-webrtc/sys/tests/layout.c index eea114ed9..f695a7d32 100644 --- a/gstreamer-webrtc/sys/tests/layout.c +++ b/gstreamer-webrtc/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer/src/auto/bin.rs b/gstreamer/src/auto/bin.rs index 607abba22..d1df0665a 100644 --- a/gstreamer/src/auto/bin.rs +++ b/gstreamer/src/auto/bin.rs @@ -354,16 +354,14 @@ impl> GstBinExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn deep_element_added_trampoline< - P, + P: IsA, F: Fn(&P, &Bin, &Element) + Send + Sync + 'static, >( this: *mut ffi::GstBin, sub_bin: *mut ffi::GstBin, element: *mut ffi::GstElement, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &Bin::from_glib_borrow(this).unsafe_cast_ref(), @@ -392,16 +390,14 @@ impl> GstBinExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn deep_element_removed_trampoline< - P, + P: IsA, F: Fn(&P, &Bin, &Element) + Send + Sync + 'static, >( this: *mut ffi::GstBin, sub_bin: *mut ffi::GstBin, element: *mut ffi::GstElement, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &Bin::from_glib_borrow(this).unsafe_cast_ref(), @@ -428,15 +424,13 @@ impl> GstBinExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn element_added_trampoline< - P, + P: IsA, F: Fn(&P, &Element) + Send + Sync + 'static, >( this: *mut ffi::GstBin, element: *mut ffi::GstElement, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &Bin::from_glib_borrow(this).unsafe_cast_ref(), @@ -462,15 +456,13 @@ impl> GstBinExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn element_removed_trampoline< - P, + P: IsA, F: Fn(&P, &Element) + Send + Sync + 'static, >( this: *mut ffi::GstBin, element: *mut ffi::GstElement, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &Bin::from_glib_borrow(this).unsafe_cast_ref(), @@ -496,15 +488,13 @@ impl> GstBinExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn notify_async_handling_trampoline< - P, + P: IsA, F: Fn(&P) + Send + Sync + 'static, >( this: *mut ffi::GstBin, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&Bin::from_glib_borrow(this).unsafe_cast_ref()) } @@ -527,15 +517,13 @@ impl> GstBinExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn notify_message_forward_trampoline< - P, + P: IsA, F: Fn(&P) + Send + Sync + 'static, >( this: *mut ffi::GstBin, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&Bin::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer/src/auto/bus.rs b/gstreamer/src/auto/bus.rs index b02441e36..6237dd8f9 100644 --- a/gstreamer/src/auto/bus.rs +++ b/gstreamer/src/auto/bus.rs @@ -127,7 +127,7 @@ impl Bus { } #[doc(alias = "message")] - pub fn connect_message( + pub fn connect_message( &self, detail: Option<&str>, f: F, @@ -158,7 +158,7 @@ impl Bus { } #[doc(alias = "sync-message")] - pub fn connect_sync_message( + pub fn connect_sync_message( &self, detail: Option<&str>, f: F, diff --git a/gstreamer/src/auto/child_proxy.rs b/gstreamer/src/auto/child_proxy.rs index edffdb009..f9711f59e 100644 --- a/gstreamer/src/auto/child_proxy.rs +++ b/gstreamer/src/auto/child_proxy.rs @@ -141,16 +141,14 @@ impl> ChildProxyExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn child_added_trampoline< - P, + P: IsA, F: Fn(&P, &glib::Object, &str) + Send + Sync + 'static, >( this: *mut ffi::GstChildProxy, object: *mut glib::gobject_ffi::GObject, name: *mut libc::c_char, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &ChildProxy::from_glib_borrow(this).unsafe_cast_ref(), @@ -177,16 +175,14 @@ impl> ChildProxyExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn child_removed_trampoline< - P, + P: IsA, F: Fn(&P, &glib::Object, &str) + Send + Sync + 'static, >( this: *mut ffi::GstChildProxy, object: *mut glib::gobject_ffi::GObject, name: *mut libc::c_char, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &ChildProxy::from_glib_borrow(this).unsafe_cast_ref(), diff --git a/gstreamer/src/auto/clock.rs b/gstreamer/src/auto/clock.rs index 5a8da2386..cd1f4ef5d 100644 --- a/gstreamer/src/auto/clock.rs +++ b/gstreamer/src/auto/clock.rs @@ -453,13 +453,14 @@ impl> ClockExt for O { #[doc(alias = "synced")] fn connect_synced(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn synced_trampoline( + unsafe extern "C" fn synced_trampoline< + P: IsA, + F: Fn(&P, bool) + Send + Sync + 'static, + >( this: *mut ffi::GstClock, synced: glib::ffi::gboolean, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &Clock::from_glib_borrow(this).unsafe_cast_ref(), @@ -484,13 +485,14 @@ impl> ClockExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_timeout_trampoline( + unsafe extern "C" fn notify_timeout_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstClock, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&Clock::from_glib_borrow(this).unsafe_cast_ref()) } @@ -512,13 +514,14 @@ impl> ClockExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_window_size_trampoline( + unsafe extern "C" fn notify_window_size_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstClock, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&Clock::from_glib_borrow(this).unsafe_cast_ref()) } @@ -541,15 +544,13 @@ impl> ClockExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn notify_window_threshold_trampoline< - P, + P: IsA, F: Fn(&P) + Send + Sync + 'static, >( this: *mut ffi::GstClock, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&Clock::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer/src/auto/device.rs b/gstreamer/src/auto/device.rs index 69c35329f..03d66160e 100644 --- a/gstreamer/src/auto/device.rs +++ b/gstreamer/src/auto/device.rs @@ -138,12 +138,13 @@ impl> DeviceExt for O { #[doc(alias = "removed")] fn connect_removed(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn removed_trampoline( + unsafe extern "C" fn removed_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstDevice, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&Device::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer/src/auto/device_monitor.rs b/gstreamer/src/auto/device_monitor.rs index eb9b8da03..7ef43baf3 100644 --- a/gstreamer/src/auto/device_monitor.rs +++ b/gstreamer/src/auto/device_monitor.rs @@ -154,13 +154,14 @@ impl> DeviceMonitorExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_show_all_trampoline( + unsafe extern "C" fn notify_show_all_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstDeviceMonitor, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&DeviceMonitor::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer/src/auto/device_provider.rs b/gstreamer/src/auto/device_provider.rs index 09a47bc7d..1ddd7cfb8 100644 --- a/gstreamer/src/auto/device_provider.rs +++ b/gstreamer/src/auto/device_provider.rs @@ -194,15 +194,13 @@ impl> DeviceProviderExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn provider_hidden_trampoline< - P, + P: IsA, F: Fn(&P, &str) + Send + Sync + 'static, >( this: *mut ffi::GstDeviceProvider, object: *mut libc::c_char, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &DeviceProvider::from_glib_borrow(this).unsafe_cast_ref(), @@ -228,15 +226,13 @@ impl> DeviceProviderExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn provider_unhidden_trampoline< - P, + P: IsA, F: Fn(&P, &str) + Send + Sync + 'static, >( this: *mut ffi::GstDeviceProvider, object: *mut libc::c_char, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &DeviceProvider::from_glib_borrow(this).unsafe_cast_ref(), diff --git a/gstreamer/src/auto/element.rs b/gstreamer/src/auto/element.rs index 3264056f6..2488d37fd 100644 --- a/gstreamer/src/auto/element.rs +++ b/gstreamer/src/auto/element.rs @@ -782,12 +782,13 @@ impl> ElementExt for O { #[doc(alias = "no-more-pads")] fn connect_no_more_pads(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn no_more_pads_trampoline( + unsafe extern "C" fn no_more_pads_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstElement, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&Element::from_glib_borrow(this).unsafe_cast_ref()) } @@ -809,13 +810,14 @@ impl> ElementExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn pad_added_trampoline( + unsafe extern "C" fn pad_added_trampoline< + P: IsA, + F: Fn(&P, &Pad) + Send + Sync + 'static, + >( this: *mut ffi::GstElement, new_pad: *mut ffi::GstPad, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &Element::from_glib_borrow(this).unsafe_cast_ref(), @@ -840,13 +842,14 @@ impl> ElementExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn pad_removed_trampoline( + unsafe extern "C" fn pad_removed_trampoline< + P: IsA, + F: Fn(&P, &Pad) + Send + Sync + 'static, + >( this: *mut ffi::GstElement, old_pad: *mut ffi::GstPad, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &Element::from_glib_borrow(this).unsafe_cast_ref(), diff --git a/gstreamer/src/auto/object.rs b/gstreamer/src/auto/object.rs index 928f240fb..1a7ed0d12 100644 --- a/gstreamer/src/auto/object.rs +++ b/gstreamer/src/auto/object.rs @@ -330,13 +330,14 @@ impl> GstObjectExt for O { #[doc(alias = "parent")] fn connect_parent_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_parent_trampoline( + unsafe extern "C" fn notify_parent_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstObject, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&Object::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer/src/auto/pad.rs b/gstreamer/src/auto/pad.rs index 770c3630e..912b37947 100644 --- a/gstreamer/src/auto/pad.rs +++ b/gstreamer/src/auto/pad.rs @@ -632,13 +632,14 @@ impl> PadExt for O { #[doc(alias = "linked")] fn connect_linked(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn linked_trampoline( + unsafe extern "C" fn linked_trampoline< + P: IsA, + F: Fn(&P, &Pad) + Send + Sync + 'static, + >( this: *mut ffi::GstPad, peer: *mut ffi::GstPad, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &Pad::from_glib_borrow(this).unsafe_cast_ref(), @@ -663,13 +664,14 @@ impl> PadExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn unlinked_trampoline( + unsafe extern "C" fn unlinked_trampoline< + P: IsA, + F: Fn(&P, &Pad) + Send + Sync + 'static, + >( this: *mut ffi::GstPad, peer: *mut ffi::GstPad, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f( &Pad::from_glib_borrow(this).unsafe_cast_ref(), @@ -691,13 +693,14 @@ impl> PadExt for O { #[doc(alias = "caps")] fn connect_caps_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_caps_trampoline( + unsafe extern "C" fn notify_caps_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstPad, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&Pad::from_glib_borrow(this).unsafe_cast_ref()) } @@ -716,13 +719,14 @@ impl> PadExt for O { #[doc(alias = "offset")] fn connect_offset_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_offset_trampoline( + unsafe extern "C" fn notify_offset_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstPad, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&Pad::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer/src/auto/pad_template.rs b/gstreamer/src/auto/pad_template.rs index bf440e8c2..860f7c953 100644 --- a/gstreamer/src/auto/pad_template.rs +++ b/gstreamer/src/auto/pad_template.rs @@ -167,7 +167,7 @@ impl PadTemplate { } #[doc(alias = "pad-created")] - pub fn connect_pad_created( + pub fn connect_pad_created( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer/src/auto/pipeline.rs b/gstreamer/src/auto/pipeline.rs index 1e50fc6d8..0e60b276d 100644 --- a/gstreamer/src/auto/pipeline.rs +++ b/gstreamer/src/auto/pipeline.rs @@ -157,15 +157,13 @@ impl> PipelineExt for O { f: F, ) -> SignalHandlerId { unsafe extern "C" fn notify_auto_flush_bus_trampoline< - P, + P: IsA, F: Fn(&P) + Send + Sync + 'static, >( this: *mut ffi::GstPipeline, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&Pipeline::from_glib_borrow(this).unsafe_cast_ref()) } @@ -184,13 +182,14 @@ impl> PipelineExt for O { #[doc(alias = "delay")] fn connect_delay_notify(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn notify_delay_trampoline( + unsafe extern "C" fn notify_delay_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstPipeline, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&Pipeline::from_glib_borrow(this).unsafe_cast_ref()) } @@ -212,13 +211,14 @@ impl> PipelineExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_latency_trampoline( + unsafe extern "C" fn notify_latency_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstPipeline, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&Pipeline::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer/src/auto/registry.rs b/gstreamer/src/auto/registry.rs index fd95fab7c..4b4d0d037 100644 --- a/gstreamer/src/auto/registry.rs +++ b/gstreamer/src/auto/registry.rs @@ -233,7 +233,7 @@ impl Registry { } #[doc(alias = "feature-added")] - pub fn connect_feature_added( + pub fn connect_feature_added( &self, f: F, ) -> SignalHandlerId { @@ -261,7 +261,7 @@ impl Registry { } #[doc(alias = "plugin-added")] - pub fn connect_plugin_added( + pub fn connect_plugin_added( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer/src/auto/stream.rs b/gstreamer/src/auto/stream.rs index 7bc512949..8c80c90d2 100644 --- a/gstreamer/src/auto/stream.rs +++ b/gstreamer/src/auto/stream.rs @@ -85,7 +85,7 @@ impl Stream { #[cfg(any(feature = "v1_10", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))] #[doc(alias = "caps")] - pub fn connect_caps_notify( + pub fn connect_caps_notify( &self, f: F, ) -> SignalHandlerId { @@ -113,7 +113,7 @@ impl Stream { #[cfg(any(feature = "v1_10", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))] #[doc(alias = "stream-flags")] - pub fn connect_stream_flags_notify( + pub fn connect_stream_flags_notify( &self, f: F, ) -> SignalHandlerId { @@ -143,7 +143,7 @@ impl Stream { #[cfg(any(feature = "v1_10", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))] #[doc(alias = "stream-type")] - pub fn connect_stream_type_notify( + pub fn connect_stream_type_notify( &self, f: F, ) -> SignalHandlerId { @@ -173,7 +173,7 @@ impl Stream { #[cfg(any(feature = "v1_10", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))] #[doc(alias = "tags")] - pub fn connect_tags_notify( + pub fn connect_tags_notify( &self, f: F, ) -> SignalHandlerId { diff --git a/gstreamer/src/auto/system_clock.rs b/gstreamer/src/auto/system_clock.rs index 112756791..b7225dc08 100644 --- a/gstreamer/src/auto/system_clock.rs +++ b/gstreamer/src/auto/system_clock.rs @@ -89,13 +89,14 @@ impl> SystemClockExt for O { &self, f: F, ) -> SignalHandlerId { - unsafe extern "C" fn notify_clock_type_trampoline( + unsafe extern "C" fn notify_clock_type_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( this: *mut ffi::GstSystemClock, _param_spec: glib::ffi::gpointer, f: glib::ffi::gpointer, - ) where - P: IsA, - { + ) { let f: &F = &*(f as *const F); f(&SystemClock::from_glib_borrow(this).unsafe_cast_ref()) } diff --git a/gstreamer/src/auto/versions.txt b/gstreamer/src/auto/versions.txt index 524f5becf..81256bc01 100644 --- a/gstreamer/src/auto/versions.txt +++ b/gstreamer/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +Generated by gir (https://github.com/gtk-rs/gir @ de679ce) from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) diff --git a/gstreamer/sys/build.rs b/gstreamer/sys/build.rs index 9642c8d86..1eecb687a 100644 --- a/gstreamer/sys/build.rs +++ b/gstreamer/sys/build.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer/sys/src/lib.rs b/gstreamer/sys/src/lib.rs index b338593fb..eff56c7f1 100644 --- a/gstreamer/sys/src/lib.rs +++ b/gstreamer/sys/src/lib.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer/sys/tests/abi.rs b/gstreamer/sys/tests/abi.rs index bd5fec965..9dc86c0ff 100644 --- a/gstreamer/sys/tests/abi.rs +++ b/gstreamer/sys/tests/abi.rs @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer/sys/tests/constant.c b/gstreamer/sys/tests/constant.c index 231400da5..1f2b85338 100644 --- a/gstreamer/sys/tests/constant.c +++ b/gstreamer/sys/tests/constant.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT diff --git a/gstreamer/sys/tests/layout.c b/gstreamer/sys/tests/layout.c index acf14d5fe..c3b66ee64 100644 --- a/gstreamer/sys/tests/layout.c +++ b/gstreamer/sys/tests/layout.c @@ -1,4 +1,4 @@ -// Generated by gir (https://github.com/gtk-rs/gir @ 88c650e) +// Generated by gir (https://github.com/gtk-rs/gir @ de679ce) // from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6) // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a) // DO NOT EDIT