Regenerate everything

This commit is contained in:
Sebastian Dröge 2020-04-13 19:11:33 +03:00
parent ac27258478
commit 5021994237
84 changed files with 1062 additions and 353 deletions

View file

@ -15,6 +15,7 @@ use gst;
use gst_app_sys;
use gst_base;
use std::boxed::Box as Box_;
use std::mem::transmute;
glib_wrapper! {
pub struct AppSink(Object<gst_app_sys::GstAppSink, gst_app_sys::GstAppSinkClass, AppSinkClass>) @extends gst_base::BaseSink, gst::Element, gst::Object, @implements gst::URIHandler;
@ -201,7 +202,9 @@ impl AppSink {
connect_raw(
self.as_ptr() as *mut _,
b"eos\0".as_ptr() as *const _,
Some(*(&eos_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
eos_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -226,7 +229,9 @@ impl AppSink {
connect_raw(
self.as_ptr() as *mut _,
b"notify::buffer-list\0".as_ptr() as *const _,
Some(*(&notify_buffer_list_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_buffer_list_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -249,7 +254,9 @@ impl AppSink {
connect_raw(
self.as_ptr() as *mut _,
b"notify::caps\0".as_ptr() as *const _,
Some(*(&notify_caps_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_caps_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -272,7 +279,9 @@ impl AppSink {
connect_raw(
self.as_ptr() as *mut _,
b"notify::drop\0".as_ptr() as *const _,
Some(*(&notify_drop_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_drop_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -297,7 +306,9 @@ impl AppSink {
connect_raw(
self.as_ptr() as *mut _,
b"notify::emit-signals\0".as_ptr() as *const _,
Some(*(&notify_emit_signals_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_emit_signals_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -320,7 +331,9 @@ impl AppSink {
connect_raw(
self.as_ptr() as *mut _,
b"notify::eos\0".as_ptr() as *const _,
Some(*(&notify_eos_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_eos_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -345,7 +358,9 @@ impl AppSink {
connect_raw(
self.as_ptr() as *mut _,
b"notify::max-buffers\0".as_ptr() as *const _,
Some(*(&notify_max_buffers_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_max_buffers_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -370,7 +385,9 @@ impl AppSink {
connect_raw(
self.as_ptr() as *mut _,
b"notify::wait-on-eos\0".as_ptr() as *const _,
Some(*(&notify_wait_on_eos_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_wait_on_eos_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -15,6 +15,7 @@ use gst_app_sys;
use gst_base;
use libc;
use std::boxed::Box as Box_;
use std::mem::transmute;
use AppStreamType;
glib_wrapper! {
@ -295,7 +296,9 @@ impl AppSrc {
connect_raw(
self.as_ptr() as *mut _,
b"enough-data\0".as_ptr() as *const _,
Some(*(&enough_data_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
enough_data_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -318,7 +321,9 @@ impl AppSrc {
connect_raw(
self.as_ptr() as *mut _,
b"need-data\0".as_ptr() as *const _,
Some(*(&need_data_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
need_data_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -343,7 +348,9 @@ impl AppSrc {
connect_raw(
self.as_ptr() as *mut _,
b"seek-data\0".as_ptr() as *const _,
Some(*(&seek_data_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
seek_data_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -366,7 +373,9 @@ impl AppSrc {
connect_raw(
self.as_ptr() as *mut _,
b"notify::block\0".as_ptr() as *const _,
Some(*(&notify_block_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_block_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -389,7 +398,9 @@ impl AppSrc {
connect_raw(
self.as_ptr() as *mut _,
b"notify::caps\0".as_ptr() as *const _,
Some(*(&notify_caps_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_caps_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -414,7 +425,9 @@ impl AppSrc {
connect_raw(
self.as_ptr() as *mut _,
b"notify::current-level-bytes\0".as_ptr() as *const _,
Some(*(&notify_current_level_bytes_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_current_level_bytes_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -437,7 +450,9 @@ impl AppSrc {
connect_raw(
self.as_ptr() as *mut _,
b"notify::duration\0".as_ptr() as *const _,
Some(*(&notify_duration_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_duration_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -462,7 +477,9 @@ impl AppSrc {
connect_raw(
self.as_ptr() as *mut _,
b"notify::emit-signals\0".as_ptr() as *const _,
Some(*(&notify_emit_signals_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_emit_signals_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -485,7 +502,9 @@ impl AppSrc {
connect_raw(
self.as_ptr() as *mut _,
b"notify::format\0".as_ptr() as *const _,
Some(*(&notify_format_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_format_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -508,7 +527,9 @@ impl AppSrc {
connect_raw(
self.as_ptr() as *mut _,
b"notify::is-live\0".as_ptr() as *const _,
Some(*(&notify_is_live_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_is_live_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -531,7 +552,9 @@ impl AppSrc {
connect_raw(
self.as_ptr() as *mut _,
b"notify::max-bytes\0".as_ptr() as *const _,
Some(*(&notify_max_bytes_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_max_bytes_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -556,7 +579,9 @@ impl AppSrc {
connect_raw(
self.as_ptr() as *mut _,
b"notify::max-latency\0".as_ptr() as *const _,
Some(*(&notify_max_latency_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_max_latency_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -581,7 +606,9 @@ impl AppSrc {
connect_raw(
self.as_ptr() as *mut _,
b"notify::min-latency\0".as_ptr() as *const _,
Some(*(&notify_min_latency_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_min_latency_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -606,7 +633,9 @@ impl AppSrc {
connect_raw(
self.as_ptr() as *mut _,
b"notify::min-percent\0".as_ptr() as *const _,
Some(*(&notify_min_percent_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_min_percent_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -629,7 +658,9 @@ impl AppSrc {
connect_raw(
self.as_ptr() as *mut _,
b"notify::size\0".as_ptr() as *const _,
Some(*(&notify_size_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_size_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -654,7 +685,9 @@ impl AppSrc {
connect_raw(
self.as_ptr() as *mut _,
b"notify::stream-type\0".as_ptr() as *const _,
Some(*(&notify_stream_type_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_stream_type_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5231cae)
from gir-files (https://github.com/gtk-rs/gir-files @ 83f2748e)
Generated by gir (https://github.com/gtk-rs/gir @ 2abca11)
from gir-files (https://github.com/gtk-rs/gir-files @ ac272584)

View file

@ -15,6 +15,7 @@ use gst;
use gst_audio_sys;
use gst_base;
use std::boxed::Box as Box_;
use std::mem::transmute;
glib_wrapper! {
pub struct AudioBaseSink(Object<gst_audio_sys::GstAudioBaseSink, gst_audio_sys::GstAudioBaseSinkClass, AudioBaseSinkClass>) @extends gst_base::BaseSink, gst::Element, gst::Object;
@ -297,7 +298,9 @@ impl<O: IsA<AudioBaseSink>> AudioBaseSinkExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::alignment-threshold\0".as_ptr() as *const _,
Some(*(&notify_alignment_threshold_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_alignment_threshold_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -322,7 +325,9 @@ impl<O: IsA<AudioBaseSink>> AudioBaseSinkExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::buffer-time\0".as_ptr() as *const _,
Some(*(&notify_buffer_time_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_buffer_time_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -350,7 +355,9 @@ impl<O: IsA<AudioBaseSink>> AudioBaseSinkExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::can-activate-pull\0".as_ptr() as *const _,
Some(*(&notify_can_activate_pull_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_can_activate_pull_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -375,7 +382,9 @@ impl<O: IsA<AudioBaseSink>> AudioBaseSinkExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::discont-wait\0".as_ptr() as *const _,
Some(*(&notify_discont_wait_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_discont_wait_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -403,7 +412,9 @@ impl<O: IsA<AudioBaseSink>> AudioBaseSinkExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::drift-tolerance\0".as_ptr() as *const _,
Some(*(&notify_drift_tolerance_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_drift_tolerance_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -428,7 +439,9 @@ impl<O: IsA<AudioBaseSink>> AudioBaseSinkExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::latency-time\0".as_ptr() as *const _,
Some(*(&notify_latency_time_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_latency_time_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -453,7 +466,9 @@ impl<O: IsA<AudioBaseSink>> AudioBaseSinkExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::provide-clock\0".as_ptr() as *const _,
Some(*(&notify_provide_clock_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_provide_clock_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -478,7 +493,9 @@ impl<O: IsA<AudioBaseSink>> AudioBaseSinkExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::slave-method\0".as_ptr() as *const _,
Some(*(&notify_slave_method_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_slave_method_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -15,6 +15,7 @@ use gst;
use gst_audio_sys;
use gst_base;
use std::boxed::Box as Box_;
use std::mem::transmute;
glib_wrapper! {
pub struct AudioBaseSrc(Object<gst_audio_sys::GstAudioBaseSrc, gst_audio_sys::GstAudioBaseSrcClass, AudioBaseSrcClass>) @extends gst_base::BaseSrc, gst::Element, gst::Object;
@ -215,7 +216,9 @@ impl<O: IsA<AudioBaseSrc>> AudioBaseSrcExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::actual-buffer-time\0".as_ptr() as *const _,
Some(*(&notify_actual_buffer_time_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_actual_buffer_time_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -243,7 +246,9 @@ impl<O: IsA<AudioBaseSrc>> AudioBaseSrcExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::actual-latency-time\0".as_ptr() as *const _,
Some(*(&notify_actual_latency_time_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_actual_latency_time_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -268,7 +273,9 @@ impl<O: IsA<AudioBaseSrc>> AudioBaseSrcExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::buffer-time\0".as_ptr() as *const _,
Some(*(&notify_buffer_time_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_buffer_time_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -293,7 +300,9 @@ impl<O: IsA<AudioBaseSrc>> AudioBaseSrcExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::latency-time\0".as_ptr() as *const _,
Some(*(&notify_latency_time_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_latency_time_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -318,7 +327,9 @@ impl<O: IsA<AudioBaseSrc>> AudioBaseSrcExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::provide-clock\0".as_ptr() as *const _,
Some(*(&notify_provide_clock_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_provide_clock_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -343,7 +354,9 @@ impl<O: IsA<AudioBaseSrc>> AudioBaseSrcExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::slave-method\0".as_ptr() as *const _,
Some(*(&notify_slave_method_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_slave_method_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -13,6 +13,7 @@ use gst;
use gst_audio_sys;
use std::boxed::Box as Box_;
use std::mem;
use std::mem::transmute;
use AudioInfo;
glib_wrapper! {
@ -342,7 +343,9 @@ impl<O: IsA<AudioDecoder>> AudioDecoderExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::min-latency\0".as_ptr() as *const _,
Some(*(&notify_min_latency_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_min_latency_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -367,7 +370,9 @@ impl<O: IsA<AudioDecoder>> AudioDecoderExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::plc\0".as_ptr() as *const _,
Some(*(&notify_plc_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_plc_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -392,7 +397,9 @@ impl<O: IsA<AudioDecoder>> AudioDecoderExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::tolerance\0".as_ptr() as *const _,
Some(*(&notify_tolerance_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_tolerance_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -12,6 +12,7 @@ use glib_sys;
use gst;
use gst_audio_sys;
use std::boxed::Box as Box_;
use std::mem::transmute;
use AudioInfo;
glib_wrapper! {
@ -343,7 +344,9 @@ impl<O: IsA<AudioEncoder>> AudioEncoderExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::hard-resync\0".as_ptr() as *const _,
Some(*(&notify_hard_resync_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_hard_resync_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -368,7 +371,9 @@ impl<O: IsA<AudioEncoder>> AudioEncoderExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::mark-granule\0".as_ptr() as *const _,
Some(*(&notify_mark_granule_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_mark_granule_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -396,7 +401,9 @@ impl<O: IsA<AudioEncoder>> AudioEncoderExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::perfect-timestamp\0".as_ptr() as *const _,
Some(*(&notify_perfect_timestamp_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_perfect_timestamp_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -421,7 +428,9 @@ impl<O: IsA<AudioEncoder>> AudioEncoderExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::tolerance\0".as_ptr() as *const _,
Some(*(&notify_tolerance_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_tolerance_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -10,6 +10,7 @@ use glib::translate::*;
use glib_sys;
use gst_audio_sys;
use std::boxed::Box as Box_;
use std::mem::transmute;
use StreamVolumeFormat;
glib_wrapper! {
@ -110,7 +111,9 @@ impl<O: IsA<StreamVolume>> StreamVolumeExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::mute\0".as_ptr() as *const _,
Some(*(&notify_mute_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_mute_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -135,7 +138,9 @@ impl<O: IsA<StreamVolume>> StreamVolumeExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::volume\0".as_ptr() as *const _,
Some(*(&notify_volume_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_volume_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5231cae)
from gir-files (https://github.com/gtk-rs/gir-files @ 83f2748e)
Generated by gir (https://github.com/gtk-rs/gir @ 2abca11)
from gir-files (https://github.com/gtk-rs/gir-files @ ac272584)

View file

@ -14,6 +14,7 @@ use gobject_sys;
use gst;
use gst_base_sys;
use std::boxed::Box as Box_;
use std::mem::transmute;
glib_wrapper! {
pub struct Aggregator(Object<gst_base_sys::GstAggregator, gst_base_sys::GstAggregatorClass, AggregatorClass>) @extends gst::Element, gst::Object;
@ -162,7 +163,9 @@ impl<O: IsA<Aggregator>> AggregatorExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::latency\0".as_ptr() as *const _,
Some(*(&notify_latency_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_latency_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -187,7 +190,9 @@ impl<O: IsA<Aggregator>> AggregatorExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::start-time\0".as_ptr() as *const _,
Some(*(&notify_start_time_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_start_time_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -18,6 +18,7 @@ use gst;
use gst_base_sys;
use gst_sys;
use std::boxed::Box as Box_;
use std::mem::transmute;
glib_wrapper! {
pub struct AggregatorPad(Object<gst_base_sys::GstAggregatorPad, gst_base_sys::GstAggregatorPadClass, AggregatorPadClass>) @extends gst::Pad, gst::Object;
@ -164,7 +165,9 @@ impl<O: IsA<AggregatorPad>> AggregatorPadExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"buffer-consumed\0".as_ptr() as *const _,
Some(*(&buffer_consumed_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
buffer_consumed_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -190,7 +193,9 @@ impl<O: IsA<AggregatorPad>> AggregatorPadExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::emit-signals\0".as_ptr() as *const _,
Some(*(&notify_emit_signals_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_emit_signals_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -14,6 +14,7 @@ use gobject_sys;
use gst;
use gst_base_sys;
use std::boxed::Box as Box_;
use std::mem::transmute;
glib_wrapper! {
pub struct BaseParse(Object<gst_base_sys::GstBaseParse, gst_base_sys::GstBaseParseClass, BaseParseClass>) @extends gst::Element, gst::Object;
@ -220,7 +221,9 @@ impl<O: IsA<BaseParse>> BaseParseExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::disable-passthrough\0".as_ptr() as *const _,
Some(*(&notify_disable_passthrough_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_disable_passthrough_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -14,6 +14,7 @@ use gobject_sys;
use gst;
use gst_base_sys;
use std::boxed::Box as Box_;
use std::mem::transmute;
glib_wrapper! {
pub struct BaseSink(Object<gst_base_sys::GstBaseSink, gst_base_sys::GstBaseSinkClass, BaseSinkClass>) @extends gst::Element, gst::Object;
@ -452,7 +453,9 @@ impl<O: IsA<BaseSink>> BaseSinkExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::async\0".as_ptr() as *const _,
Some(*(&notify_async_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_async_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -477,7 +480,9 @@ impl<O: IsA<BaseSink>> BaseSinkExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::blocksize\0".as_ptr() as *const _,
Some(*(&notify_blocksize_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_blocksize_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -505,7 +510,9 @@ impl<O: IsA<BaseSink>> BaseSinkExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::enable-last-sample\0".as_ptr() as *const _,
Some(*(&notify_enable_last_sample_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_enable_last_sample_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -530,7 +537,9 @@ impl<O: IsA<BaseSink>> BaseSinkExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::last-sample\0".as_ptr() as *const _,
Some(*(&notify_last_sample_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_last_sample_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -555,7 +564,9 @@ impl<O: IsA<BaseSink>> BaseSinkExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::max-bitrate\0".as_ptr() as *const _,
Some(*(&notify_max_bitrate_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_max_bitrate_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -580,7 +591,9 @@ impl<O: IsA<BaseSink>> BaseSinkExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::max-lateness\0".as_ptr() as *const _,
Some(*(&notify_max_lateness_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_max_lateness_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -609,7 +622,9 @@ impl<O: IsA<BaseSink>> BaseSinkExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::processing-deadline\0".as_ptr() as *const _,
Some(*(&notify_processing_deadline_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_processing_deadline_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -634,7 +649,9 @@ impl<O: IsA<BaseSink>> BaseSinkExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::qos\0".as_ptr() as *const _,
Some(*(&notify_qos_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_qos_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -659,7 +676,9 @@ impl<O: IsA<BaseSink>> BaseSinkExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::render-delay\0".as_ptr() as *const _,
Some(*(&notify_render_delay_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_render_delay_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -684,7 +703,9 @@ impl<O: IsA<BaseSink>> BaseSinkExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::sync\0".as_ptr() as *const _,
Some(*(&notify_sync_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_sync_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -709,7 +730,9 @@ impl<O: IsA<BaseSink>> BaseSinkExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::throttle-time\0".as_ptr() as *const _,
Some(*(&notify_throttle_time_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_throttle_time_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -734,7 +757,9 @@ impl<O: IsA<BaseSink>> BaseSinkExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::ts-offset\0".as_ptr() as *const _,
Some(*(&notify_ts_offset_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_ts_offset_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -15,6 +15,7 @@ use gobject_sys;
use gst;
use gst_base_sys;
use std::boxed::Box as Box_;
use std::mem::transmute;
glib_wrapper! {
pub struct BaseSrc(Object<gst_base_sys::GstBaseSrc, gst_base_sys::GstBaseSrcClass, BaseSrcClass>) @extends gst::Element, gst::Object;
@ -273,7 +274,9 @@ impl<O: IsA<BaseSrc>> BaseSrcExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::blocksize\0".as_ptr() as *const _,
Some(*(&notify_blocksize_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_blocksize_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -298,7 +301,9 @@ impl<O: IsA<BaseSrc>> BaseSrcExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::do-timestamp\0".as_ptr() as *const _,
Some(*(&notify_do_timestamp_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_do_timestamp_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -323,7 +328,9 @@ impl<O: IsA<BaseSrc>> BaseSrcExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::num-buffers\0".as_ptr() as *const _,
Some(*(&notify_num_buffers_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_num_buffers_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -348,7 +355,9 @@ impl<O: IsA<BaseSrc>> BaseSrcExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::typefind\0".as_ptr() as *const _,
Some(*(&notify_typefind_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_typefind_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -15,6 +15,7 @@ use gobject_sys;
use gst;
use gst_base_sys;
use std::boxed::Box as Box_;
use std::mem::transmute;
glib_wrapper! {
pub struct BaseTransform(Object<gst_base_sys::GstBaseTransform, gst_base_sys::GstBaseTransformClass, BaseTransformClass>) @extends gst::Element, gst::Object;
@ -229,7 +230,9 @@ impl<O: IsA<BaseTransform>> BaseTransformExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::qos\0".as_ptr() as *const _,
Some(*(&notify_qos_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_qos_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5231cae)
from gir-files (https://github.com/gtk-rs/gir-files @ 83f2748e)
Generated by gir (https://github.com/gtk-rs/gir @ 2abca11)
from gir-files (https://github.com/gtk-rs/gir-files @ ac272584)

View file

@ -14,6 +14,7 @@ use gobject_sys;
use gst;
use gst_check_sys;
use std::boxed::Box as Box_;
use std::mem::transmute;
glib_wrapper! {
pub struct TestClock(Object<gst_check_sys::GstTestClock, gst_check_sys::GstTestClockClass, TestClockClass>) @extends gst::Clock, gst::Object;
@ -165,7 +166,9 @@ impl TestClock {
connect_raw(
self.as_ptr() as *mut _,
b"notify::clock-type\0".as_ptr() as *const _,
Some(*(&notify_clock_type_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_clock_type_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5231cae)
from gir-files (https://github.com/gtk-rs/gir-files @ 83f2748e)
Generated by gir (https://github.com/gtk-rs/gir @ 2abca11)
from gir-files (https://github.com/gtk-rs/gir-files @ ac272584)

View file

@ -3,6 +3,8 @@
// DO NOT EDIT
use ges_sys;
use gio;
use gio_sys;
use glib;
use glib::object::Cast;
use glib::object::IsA;
@ -15,6 +17,8 @@ use glib::Value;
use glib_sys;
use gobject_sys;
use std::boxed::Box as Box_;
use std::mem::transmute;
use std::pin::Pin;
use std::ptr;
use Extractable;
@ -101,6 +105,7 @@ impl Asset {
extractable_type: glib::types::Type,
id: &str,
) -> Pin<Box_<dyn std::future::Future<Output = Result<Asset, glib::Error>> + 'static>> {
skip_assert_initialized!();
let id = String::from(id);
Box_::pin(gio::GioFuture::new(&(), move |_obj, send| {
let cancellable = gio::Cancellable::new();
@ -244,7 +249,9 @@ impl<O: IsA<Asset>> AssetExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::proxy\0".as_ptr() as *const _,
Some(*(&notify_proxy_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_proxy_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -269,7 +276,9 @@ impl<O: IsA<Asset>> AssetExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::proxy-target\0".as_ptr() as *const _,
Some(*(&notify_proxy_target_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_proxy_target_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -11,6 +11,7 @@ use glib::signal::SignalHandlerId;
use glib::translate::*;
use glib_sys;
use std::boxed::Box as Box_;
use std::mem::transmute;
use Asset;
use BaseEffect;
use Container;
@ -243,7 +244,9 @@ impl<O: IsA<Clip>> ClipExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::layer\0".as_ptr() as *const _,
Some(*(&notify_layer_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_layer_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -268,7 +271,9 @@ impl<O: IsA<Clip>> ClipExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::supported-formats\0".as_ptr() as *const _,
Some(*(&notify_supported_formats_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_supported_formats_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -14,6 +14,7 @@ use glib::Value;
use glib_sys;
use gobject_sys;
use std::boxed::Box as Box_;
use std::mem::transmute;
use Edge;
use EditMode;
use Extractable;
@ -173,7 +174,9 @@ impl<O: IsA<Container>> GESContainerExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"child-added\0".as_ptr() as *const _,
Some(*(&child_added_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
child_added_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -201,7 +204,9 @@ impl<O: IsA<Container>> GESContainerExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"child-removed\0".as_ptr() as *const _,
Some(*(&child_removed_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
child_removed_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -223,7 +228,9 @@ impl<O: IsA<Container>> GESContainerExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::height\0".as_ptr() as *const _,
Some(*(&notify_height_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_height_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -13,6 +13,7 @@ use glib::Value;
use glib_sys;
use gobject_sys;
use std::boxed::Box as Box_;
use std::mem::transmute;
use Container;
use Extractable;
use TimelineElement;
@ -215,7 +216,9 @@ impl<O: IsA<Group>> GroupExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::duration\0".as_ptr() as *const _,
Some(*(&notify_duration_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_duration_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -237,7 +240,9 @@ impl<O: IsA<Group>> GroupExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::in-point\0".as_ptr() as *const _,
Some(*(&notify_in_point_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_in_point_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -262,7 +267,9 @@ impl<O: IsA<Group>> GroupExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::max-duration\0".as_ptr() as *const _,
Some(*(&notify_max_duration_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_max_duration_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -284,7 +291,9 @@ impl<O: IsA<Group>> GroupExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::priority\0".as_ptr() as *const _,
Some(*(&notify_priority_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_priority_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -306,7 +315,9 @@ impl<O: IsA<Group>> GroupExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::start\0".as_ptr() as *const _,
Some(*(&notify_start_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_start_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -12,6 +12,7 @@ use glib::translate::*;
use glib_sys;
use gst;
use std::boxed::Box as Box_;
use std::mem::transmute;
use Asset;
use Clip;
use Extractable;
@ -228,7 +229,9 @@ impl<O: IsA<Layer>> LayerExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"clip-added\0".as_ptr() as *const _,
Some(*(&clip_added_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
clip_added_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -253,7 +256,9 @@ impl<O: IsA<Layer>> LayerExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"clip-removed\0".as_ptr() as *const _,
Some(*(&clip_removed_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
clip_removed_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -278,7 +283,9 @@ impl<O: IsA<Layer>> LayerExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::auto-transition\0".as_ptr() as *const _,
Some(*(&notify_auto_transition_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_auto_transition_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -300,7 +307,9 @@ impl<O: IsA<Layer>> LayerExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::priority\0".as_ptr() as *const _,
Some(*(&notify_priority_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_priority_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -17,6 +17,7 @@ use gobject_sys;
use gst;
use gst_pbutils;
use std::boxed::Box as Box_;
use std::mem::transmute;
use std::ptr;
use PipelineFlags;
use Timeline;
@ -388,7 +389,9 @@ impl<O: IsA<Pipeline>> GESPipelineExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::audio-filter\0".as_ptr() as *const _,
Some(*(&notify_audio_filter_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_audio_filter_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -410,7 +413,9 @@ impl<O: IsA<Pipeline>> GESPipelineExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::audio-sink\0".as_ptr() as *const _,
Some(*(&notify_audio_sink_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_audio_sink_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -432,7 +437,9 @@ impl<O: IsA<Pipeline>> GESPipelineExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::mode\0".as_ptr() as *const _,
Some(*(&notify_mode_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_mode_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -454,7 +461,9 @@ impl<O: IsA<Pipeline>> GESPipelineExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::timeline\0".as_ptr() as *const _,
Some(*(&notify_timeline_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_timeline_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -479,7 +488,9 @@ impl<O: IsA<Pipeline>> GESPipelineExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::video-filter\0".as_ptr() as *const _,
Some(*(&notify_video_filter_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_video_filter_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -501,7 +512,9 @@ impl<O: IsA<Pipeline>> GESPipelineExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::video-sink\0".as_ptr() as *const _,
Some(*(&notify_video_sink_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_video_sink_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -14,6 +14,7 @@ use glib_sys;
use gst_pbutils;
use libc;
use std::boxed::Box as Box_;
use std::mem::transmute;
use std::ptr;
use Asset;
use Timeline;
@ -259,7 +260,9 @@ impl<O: IsA<Project>> ProjectExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"asset-added\0".as_ptr() as *const _,
Some(*(&asset_added_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
asset_added_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -284,7 +287,9 @@ impl<O: IsA<Project>> ProjectExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"asset-loading\0".as_ptr() as *const _,
Some(*(&asset_loading_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
asset_loading_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -309,7 +314,9 @@ impl<O: IsA<Project>> ProjectExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"asset-removed\0".as_ptr() as *const _,
Some(*(&asset_removed_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
asset_removed_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -346,7 +353,9 @@ impl<O: IsA<Project>> ProjectExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"error-loading-asset\0".as_ptr() as *const _,
Some(*(&error_loading_asset_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
error_loading_asset_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -371,7 +380,9 @@ impl<O: IsA<Project>> ProjectExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"loaded\0".as_ptr() as *const _,
Some(*(&loaded_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
loaded_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -406,7 +417,9 @@ impl<O: IsA<Project>> ProjectExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"missing-uri\0".as_ptr() as *const _,
Some(*(&missing_uri_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
missing_uri_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -12,6 +12,7 @@ use glib::translate::*;
use glib_sys;
use gst;
use std::boxed::Box as Box_;
use std::mem::transmute;
use std::ptr;
use Asset;
use Extractable;
@ -432,7 +433,9 @@ impl<O: IsA<Timeline>> TimelineExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"commited\0".as_ptr() as *const _,
Some(*(&commited_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
commited_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -457,7 +460,9 @@ impl<O: IsA<Timeline>> TimelineExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"group-added\0".as_ptr() as *const _,
Some(*(&group_added_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
group_added_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -486,7 +491,9 @@ impl<O: IsA<Timeline>> TimelineExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"layer-added\0".as_ptr() as *const _,
Some(*(&layer_added_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
layer_added_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -511,7 +518,9 @@ impl<O: IsA<Timeline>> TimelineExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"layer-removed\0".as_ptr() as *const _,
Some(*(&layer_removed_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
layer_removed_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -550,7 +559,9 @@ impl<O: IsA<Timeline>> TimelineExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"snapping-ended\0".as_ptr() as *const _,
Some(*(&snapping_ended_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
snapping_ended_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -585,7 +596,9 @@ impl<O: IsA<Timeline>> TimelineExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"snapping-started\0".as_ptr() as *const _,
Some(*(&snapping_started_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
snapping_started_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -610,7 +623,9 @@ impl<O: IsA<Timeline>> TimelineExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"track-added\0".as_ptr() as *const _,
Some(*(&track_added_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
track_added_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -635,7 +650,9 @@ impl<O: IsA<Timeline>> TimelineExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"track-removed\0".as_ptr() as *const _,
Some(*(&track_removed_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
track_removed_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -660,7 +677,9 @@ impl<O: IsA<Timeline>> TimelineExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::auto-transition\0".as_ptr() as *const _,
Some(*(&notify_auto_transition_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_auto_transition_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -682,7 +701,9 @@ impl<O: IsA<Timeline>> TimelineExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::duration\0".as_ptr() as *const _,
Some(*(&notify_duration_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_duration_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -707,7 +728,9 @@ impl<O: IsA<Timeline>> TimelineExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::snapping-distance\0".as_ptr() as *const _,
Some(*(&notify_snapping_distance_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_snapping_distance_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -16,6 +16,7 @@ use glib_sys;
use gobject_sys;
use gst;
use std::boxed::Box as Box_;
use std::mem::transmute;
use Extractable;
use Timeline;
use TrackType;
@ -500,7 +501,9 @@ impl<O: IsA<TimelineElement>> TimelineElementExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::duration\0".as_ptr() as *const _,
Some(*(&notify_duration_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_duration_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -522,7 +525,9 @@ impl<O: IsA<TimelineElement>> TimelineElementExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::in-point\0".as_ptr() as *const _,
Some(*(&notify_in_point_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_in_point_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -547,7 +552,9 @@ impl<O: IsA<TimelineElement>> TimelineElementExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::max-duration\0".as_ptr() as *const _,
Some(*(&notify_max_duration_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_max_duration_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -569,7 +576,9 @@ impl<O: IsA<TimelineElement>> TimelineElementExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::name\0".as_ptr() as *const _,
Some(*(&notify_name_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_name_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -591,7 +600,9 @@ impl<O: IsA<TimelineElement>> TimelineElementExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::parent\0".as_ptr() as *const _,
Some(*(&notify_parent_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_parent_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -613,7 +624,9 @@ impl<O: IsA<TimelineElement>> TimelineElementExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::priority\0".as_ptr() as *const _,
Some(*(&notify_priority_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_priority_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -635,7 +648,9 @@ impl<O: IsA<TimelineElement>> TimelineElementExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::serialize\0".as_ptr() as *const _,
Some(*(&notify_serialize_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_serialize_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -657,7 +672,9 @@ impl<O: IsA<TimelineElement>> TimelineElementExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::start\0".as_ptr() as *const _,
Some(*(&notify_start_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_start_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -679,7 +696,9 @@ impl<O: IsA<TimelineElement>> TimelineElementExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::timeline\0".as_ptr() as *const _,
Some(*(&notify_timeline_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_timeline_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -15,6 +15,7 @@ use glib_sys;
use gobject_sys;
use gst;
use std::boxed::Box as Box_;
use std::mem::transmute;
use Timeline;
use TrackElement;
use TrackType;
@ -248,7 +249,9 @@ impl<O: IsA<Track>> GESTrackExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"commited\0".as_ptr() as *const _,
Some(*(&commited_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
commited_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -276,7 +279,9 @@ impl<O: IsA<Track>> GESTrackExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"track-element-added\0".as_ptr() as *const _,
Some(*(&track_element_added_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
track_element_added_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -307,7 +312,9 @@ impl<O: IsA<Track>> GESTrackExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"track-element-removed\0".as_ptr() as *const _,
Some(*(&track_element_removed_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
track_element_removed_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -329,7 +336,9 @@ impl<O: IsA<Track>> GESTrackExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::duration\0".as_ptr() as *const _,
Some(*(&notify_duration_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_duration_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -351,7 +360,9 @@ impl<O: IsA<Track>> GESTrackExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::mixing\0".as_ptr() as *const _,
Some(*(&notify_mixing_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_mixing_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -376,7 +387,9 @@ impl<O: IsA<Track>> GESTrackExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::restriction-caps\0".as_ptr() as *const _,
Some(*(&notify_restriction_caps_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_restriction_caps_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -15,6 +15,7 @@ use glib_sys;
use gobject_sys;
use gst;
use std::boxed::Box as Box_;
use std::mem::transmute;
use Edge;
use EditMode;
use Extractable;
@ -262,7 +263,9 @@ impl<O: IsA<TrackElement>> TrackElementExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::active\0".as_ptr() as *const _,
Some(*(&notify_active_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_active_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -284,7 +287,9 @@ impl<O: IsA<TrackElement>> TrackElementExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::track\0".as_ptr() as *const _,
Some(*(&notify_track_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_track_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -306,7 +311,9 @@ impl<O: IsA<TrackElement>> TrackElementExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::track-type\0".as_ptr() as *const _,
Some(*(&notify_track_type_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_track_type_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -15,6 +15,7 @@ use glib::Value;
use glib_sys;
use gobject_sys;
use std::boxed::Box as Box_;
use std::mem::transmute;
use Clip;
use Container;
use Extractable;
@ -148,7 +149,9 @@ impl<O: IsA<UriClip>> UriClipExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::is-image\0".as_ptr() as *const _,
Some(*(&notify_is_image_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_is_image_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -170,7 +173,9 @@ impl<O: IsA<UriClip>> UriClipExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::mute\0".as_ptr() as *const _,
Some(*(&notify_mute_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_mute_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -195,7 +200,9 @@ impl<O: IsA<UriClip>> UriClipExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::supported-formats\0".as_ptr() as *const _,
Some(*(&notify_supported_formats_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_supported_formats_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -15,6 +15,7 @@ use gobject_sys;
use gst;
use gst_pbutils;
use std::boxed::Box as Box_;
use std::mem::transmute;
use std::ptr;
use Asset;
use UriSourceAsset;
@ -126,7 +127,9 @@ impl<O: IsA<UriClipAsset>> UriClipAssetExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::duration\0".as_ptr() as *const _,
Some(*(&notify_duration_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_duration_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5231cae)
from gir-files (https://github.com/gtk-rs/gir-files @ 83f2748e)
Generated by gir (https://github.com/gtk-rs/gir @ 2abca11)
from gir-files (https://github.com/gtk-rs/gir-files @ ac272584)

View file

@ -14,6 +14,7 @@ use gobject_sys;
use gst;
use gst_gl_sys;
use std::boxed::Box as Box_;
use std::mem::transmute;
use GLContext;
glib_wrapper! {
@ -84,7 +85,9 @@ impl<O: IsA<GLBaseFilter>> GLBaseFilterExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::context\0".as_ptr() as *const _,
Some(*(&notify_context_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_context_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -12,6 +12,7 @@ use glib_sys;
use gst;
use gst_gl_sys;
use std::boxed::Box as Box_;
use std::mem::transmute;
use std::ptr;
use GLContext;
use GLDisplayType;
@ -185,7 +186,9 @@ impl<O: IsA<GLDisplay>> GLDisplayExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"create-context\0".as_ptr() as *const _,
Some(*(&create_context_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
create_context_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -22,6 +22,8 @@ use gst;
use gst_gl_sys;
#[cfg(any(feature = "v1_16", feature = "dox"))]
use std::boxed::Box as Box_;
#[cfg(any(feature = "v1_16", feature = "dox"))]
use std::mem::transmute;
use GLContext;
glib_wrapper! {
@ -110,7 +112,9 @@ impl GLOverlayCompositor {
connect_raw(
self.as_ptr() as *mut _,
b"notify::yinvert\0".as_ptr() as *const _,
Some(*(&notify_yinvert_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_yinvert_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -17,6 +17,7 @@ use gobject_sys;
use gst;
use gst_gl_sys;
use std::boxed::Box as Box_;
use std::mem::transmute;
use std::ptr;
use GLContext;
#[cfg(any(feature = "v1_16", feature = "dox"))]
@ -456,7 +457,9 @@ impl GLShader {
connect_raw(
self.as_ptr() as *mut _,
b"notify::linked\0".as_ptr() as *const _,
Some(*(&notify_linked_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_linked_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -16,6 +16,7 @@ use gst;
use gst_gl_sys;
use gst_video;
use std::boxed::Box as Box_;
use std::mem::transmute;
use GLContext;
use GLStereoDownmix;
@ -250,7 +251,9 @@ impl GLViewConvert {
connect_raw(
self.as_ptr() as *mut _,
b"notify::downmix-mode\0".as_ptr() as *const _,
Some(*(&notify_downmix_mode_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_downmix_mode_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -277,7 +280,9 @@ impl GLViewConvert {
connect_raw(
self.as_ptr() as *mut _,
b"notify::input-flags-override\0".as_ptr() as *const _,
Some(*(&notify_input_flags_override_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_input_flags_override_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -304,7 +309,9 @@ impl GLViewConvert {
connect_raw(
self.as_ptr() as *mut _,
b"notify::input-mode-override\0".as_ptr() as *const _,
Some(*(&notify_input_mode_override_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_input_mode_override_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -331,7 +338,9 @@ impl GLViewConvert {
connect_raw(
self.as_ptr() as *mut _,
b"notify::output-flags-override\0".as_ptr() as *const _,
Some(*(&notify_output_flags_override_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_output_flags_override_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -358,7 +367,9 @@ impl GLViewConvert {
connect_raw(
self.as_ptr() as *mut _,
b"notify::output-mode-override\0".as_ptr() as *const _,
Some(*(&notify_output_mode_override_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_output_mode_override_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -15,6 +15,7 @@ use gst_gl_sys;
use libc;
use std::boxed::Box as Box_;
use std::mem;
use std::mem::transmute;
use GLContext;
use GLDisplay;
@ -247,7 +248,9 @@ impl<O: IsA<GLWindow>> GLWindowExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"key-event\0".as_ptr() as *const _,
Some(*(&key_event_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
key_event_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -284,7 +287,9 @@ impl<O: IsA<GLWindow>> GLWindowExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"mouse-event\0".as_ptr() as *const _,
Some(*(&mouse_event_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
mouse_event_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5231cae)
from gir-files (https://github.com/gtk-rs/gir-files @ 83f2748e)
Generated by gir (https://github.com/gtk-rs/gir @ 2abca11)
from gir-files (https://github.com/gtk-rs/gir-files @ ac272584)

View file

@ -16,6 +16,7 @@ use gobject_sys;
use gst;
use gst_net_sys;
use std::boxed::Box as Box_;
use std::mem::transmute;
glib_wrapper! {
pub struct NetClientClock(Object<gst_net_sys::GstNetClientClock, gst_net_sys::GstNetClientClockClass, NetClientClockClass>) @extends gst::Clock, gst::Object;
@ -220,7 +221,9 @@ impl NetClientClock {
connect_raw(
self.as_ptr() as *mut _,
b"notify::address\0".as_ptr() as *const _,
Some(*(&notify_address_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_address_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -245,7 +248,9 @@ impl NetClientClock {
connect_raw(
self.as_ptr() as *mut _,
b"notify::bus\0".as_ptr() as *const _,
Some(*(&notify_bus_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_bus_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -272,7 +277,9 @@ impl NetClientClock {
connect_raw(
self.as_ptr() as *mut _,
b"notify::internal-clock\0".as_ptr() as *const _,
Some(*(&notify_internal_clock_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_internal_clock_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -299,7 +306,9 @@ impl NetClientClock {
connect_raw(
self.as_ptr() as *mut _,
b"notify::minimum-update-interval\0".as_ptr() as *const _,
Some(*(&notify_minimum_update_interval_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_minimum_update_interval_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -324,7 +333,9 @@ impl NetClientClock {
connect_raw(
self.as_ptr() as *mut _,
b"notify::port\0".as_ptr() as *const _,
Some(*(&notify_port_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_port_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -349,7 +360,9 @@ impl NetClientClock {
connect_raw(
self.as_ptr() as *mut _,
b"notify::qos-dscp\0".as_ptr() as *const _,
Some(*(&notify_qos_dscp_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_qos_dscp_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -376,7 +389,9 @@ impl NetClientClock {
connect_raw(
self.as_ptr() as *mut _,
b"notify::round-trip-limit\0".as_ptr() as *const _,
Some(*(&notify_round_trip_limit_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_round_trip_limit_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -14,6 +14,7 @@ use gobject_sys;
use gst;
use gst_net_sys;
use std::boxed::Box as Box_;
use std::mem::transmute;
glib_wrapper! {
pub struct NetTimeProvider(Object<gst_net_sys::GstNetTimeProvider, gst_net_sys::GstNetTimeProviderClass, NetTimeProviderClass>) @extends gst::Object;
@ -136,7 +137,9 @@ impl NetTimeProvider {
connect_raw(
self.as_ptr() as *mut _,
b"notify::active\0".as_ptr() as *const _,
Some(*(&notify_active_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_active_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -161,7 +164,9 @@ impl NetTimeProvider {
connect_raw(
self.as_ptr() as *mut _,
b"notify::qos-dscp\0".as_ptr() as *const _,
Some(*(&notify_qos_dscp_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_qos_dscp_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -13,6 +13,7 @@ use gobject_sys;
use gst;
use gst_net_sys;
use std::boxed::Box as Box_;
use std::mem::transmute;
glib_wrapper! {
pub struct PtpClock(Object<gst_net_sys::GstPtpClock, gst_net_sys::GstPtpClockClass, PtpClockClass>) @extends gst::Clock, gst::Object;
@ -103,7 +104,9 @@ impl PtpClock {
connect_raw(
self.as_ptr() as *mut _,
b"notify::grandmaster-clock-id\0".as_ptr() as *const _,
Some(*(&notify_grandmaster_clock_id_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_grandmaster_clock_id_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -128,7 +131,9 @@ impl PtpClock {
connect_raw(
self.as_ptr() as *mut _,
b"notify::internal-clock\0".as_ptr() as *const _,
Some(*(&notify_internal_clock_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_internal_clock_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -153,7 +158,9 @@ impl PtpClock {
connect_raw(
self.as_ptr() as *mut _,
b"notify::master-clock-id\0".as_ptr() as *const _,
Some(*(&notify_master_clock_id_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_master_clock_id_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5231cae)
from gir-files (https://github.com/gtk-rs/gir-files @ 83f2748e)
Generated by gir (https://github.com/gtk-rs/gir @ 2abca11)
from gir-files (https://github.com/gtk-rs/gir-files @ ac272584)

View file

@ -18,6 +18,7 @@ use gst;
use gst_pbutils_sys;
use gst_sys;
use std::boxed::Box as Box_;
use std::mem::transmute;
use std::ptr;
use DiscovererInfo;
@ -138,7 +139,9 @@ impl Discoverer {
connect_raw(
self.as_ptr() as *mut _,
b"discovered\0".as_ptr() as *const _,
Some(*(&discovered_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
discovered_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -160,7 +163,9 @@ impl Discoverer {
connect_raw(
self.as_ptr() as *mut _,
b"finished\0".as_ptr() as *const _,
Some(*(&finished_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
finished_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -185,7 +190,9 @@ impl Discoverer {
connect_raw(
self.as_ptr() as *mut _,
b"source-setup\0".as_ptr() as *const _,
Some(*(&source_setup_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
source_setup_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -207,7 +214,9 @@ impl Discoverer {
connect_raw(
self.as_ptr() as *mut _,
b"starting\0".as_ptr() as *const _,
Some(*(&starting_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
starting_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -233,7 +242,9 @@ impl Discoverer {
connect_raw(
self.as_ptr() as *mut _,
b"notify::use-cache\0".as_ptr() as *const _,
Some(*(&notify_use_cache_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_use_cache_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5231cae)
from gir-files (https://github.com/gtk-rs/gir-files @ 83f2748e)
Generated by gir (https://github.com/gtk-rs/gir @ 2abca11)
from gir-files (https://github.com/gtk-rs/gir-files @ ac272584)

View file

@ -17,6 +17,7 @@ use gst_player_sys;
use gst_video;
use libc;
use std::boxed::Box as Box_;
use std::mem::transmute;
use PlayerAudioInfo;
use PlayerColorBalanceType;
use PlayerMediaInfo;
@ -474,7 +475,9 @@ impl Player {
connect_raw(
self.as_ptr() as *mut _,
b"buffering\0".as_ptr() as *const _,
Some(*(&buffering_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
buffering_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -493,7 +496,9 @@ impl Player {
connect_raw(
self.as_ptr() as *mut _,
b"end-of-stream\0".as_ptr() as *const _,
Some(*(&end_of_stream_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
end_of_stream_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -516,7 +521,9 @@ impl Player {
connect_raw(
self.as_ptr() as *mut _,
b"error\0".as_ptr() as *const _,
Some(*(&error_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
error_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -541,7 +548,9 @@ impl Player {
connect_raw(
self.as_ptr() as *mut _,
b"media-info-updated\0".as_ptr() as *const _,
Some(*(&media_info_updated_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
media_info_updated_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -560,7 +569,9 @@ impl Player {
connect_raw(
self.as_ptr() as *mut _,
b"mute-changed\0".as_ptr() as *const _,
Some(*(&mute_changed_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
mute_changed_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -585,7 +596,9 @@ impl Player {
connect_raw(
self.as_ptr() as *mut _,
b"state-changed\0".as_ptr() as *const _,
Some(*(&state_changed_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
state_changed_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -608,7 +621,9 @@ impl Player {
connect_raw(
self.as_ptr() as *mut _,
b"uri-loaded\0".as_ptr() as *const _,
Some(*(&uri_loaded_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
uri_loaded_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -634,7 +649,9 @@ impl Player {
connect_raw(
self.as_ptr() as *mut _,
b"video-dimensions-changed\0".as_ptr() as *const _,
Some(*(&video_dimensions_changed_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
video_dimensions_changed_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -653,7 +670,9 @@ impl Player {
connect_raw(
self.as_ptr() as *mut _,
b"volume-changed\0".as_ptr() as *const _,
Some(*(&volume_changed_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
volume_changed_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -676,7 +695,9 @@ impl Player {
connect_raw(
self.as_ptr() as *mut _,
b"warning\0".as_ptr() as *const _,
Some(*(&warning_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
warning_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -701,7 +722,9 @@ impl Player {
connect_raw(
self.as_ptr() as *mut _,
b"notify::audio-video-offset\0".as_ptr() as *const _,
Some(*(&notify_audio_video_offset_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_audio_video_offset_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -726,7 +749,9 @@ impl Player {
connect_raw(
self.as_ptr() as *mut _,
b"notify::current-audio-track\0".as_ptr() as *const _,
Some(*(&notify_current_audio_track_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_current_audio_track_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -753,7 +778,9 @@ impl Player {
connect_raw(
self.as_ptr() as *mut _,
b"notify::current-subtitle-track\0".as_ptr() as *const _,
Some(*(&notify_current_subtitle_track_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_current_subtitle_track_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -778,7 +805,9 @@ impl Player {
connect_raw(
self.as_ptr() as *mut _,
b"notify::current-video-track\0".as_ptr() as *const _,
Some(*(&notify_current_video_track_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_current_video_track_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -801,7 +830,9 @@ impl Player {
connect_raw(
self.as_ptr() as *mut _,
b"notify::duration\0".as_ptr() as *const _,
Some(*(&notify_duration_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_duration_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -826,7 +857,9 @@ impl Player {
connect_raw(
self.as_ptr() as *mut _,
b"notify::media-info\0".as_ptr() as *const _,
Some(*(&notify_media_info_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_media_info_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -849,7 +882,9 @@ impl Player {
connect_raw(
self.as_ptr() as *mut _,
b"notify::mute\0".as_ptr() as *const _,
Some(*(&notify_mute_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_mute_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -872,7 +907,9 @@ impl Player {
connect_raw(
self.as_ptr() as *mut _,
b"notify::pipeline\0".as_ptr() as *const _,
Some(*(&notify_pipeline_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_pipeline_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -895,7 +932,9 @@ impl Player {
connect_raw(
self.as_ptr() as *mut _,
b"notify::position\0".as_ptr() as *const _,
Some(*(&notify_position_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_position_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -918,7 +957,9 @@ impl Player {
connect_raw(
self.as_ptr() as *mut _,
b"notify::rate\0".as_ptr() as *const _,
Some(*(&notify_rate_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_rate_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -944,7 +985,9 @@ impl Player {
connect_raw(
self.as_ptr() as *mut _,
b"notify::subtitle-video-offset\0".as_ptr() as *const _,
Some(*(&notify_subtitle_video_offset_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_subtitle_video_offset_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -967,7 +1010,9 @@ impl Player {
connect_raw(
self.as_ptr() as *mut _,
b"notify::suburi\0".as_ptr() as *const _,
Some(*(&notify_suburi_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_suburi_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -990,7 +1035,9 @@ impl Player {
connect_raw(
self.as_ptr() as *mut _,
b"notify::uri\0".as_ptr() as *const _,
Some(*(&notify_uri_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_uri_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -1015,7 +1062,9 @@ impl Player {
connect_raw(
self.as_ptr() as *mut _,
b"notify::video-multiview-flags\0".as_ptr() as *const _,
Some(*(&notify_video_multiview_flags_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_video_multiview_flags_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -1040,7 +1089,9 @@ impl Player {
connect_raw(
self.as_ptr() as *mut _,
b"notify::video-multiview-mode\0".as_ptr() as *const _,
Some(*(&notify_video_multiview_mode_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_video_multiview_mode_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -1063,7 +1114,9 @@ impl Player {
connect_raw(
self.as_ptr() as *mut _,
b"notify::volume\0".as_ptr() as *const _,
Some(*(&notify_volume_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_volume_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -16,6 +16,7 @@ use gst;
use gst_player_sys;
use std::boxed::Box as Box_;
use std::mem;
use std::mem::transmute;
use PlayerVideoRenderer;
glib_wrapper! {
@ -130,7 +131,9 @@ impl PlayerVideoOverlayVideoRenderer {
connect_raw(
self.as_ptr() as *mut _,
b"notify::video-sink\0".as_ptr() as *const _,
Some(*(&notify_video_sink_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_video_sink_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -157,7 +160,9 @@ impl PlayerVideoOverlayVideoRenderer {
connect_raw(
self.as_ptr() as *mut _,
b"notify::window-handle\0".as_ptr() as *const _,
Some(*(&notify_window_handle_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_window_handle_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5231cae)
from gir-files (https://github.com/gtk-rs/gir-files @ 83f2748e)
Generated by gir (https://github.com/gtk-rs/gir @ 2abca11)
from gir-files (https://github.com/gtk-rs/gir-files @ ac272584)

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5231cae)
from gir-files (https://github.com/gtk-rs/gir-files @ 83f2748e)
Generated by gir (https://github.com/gtk-rs/gir @ 2abca11)
from gir-files (https://github.com/gtk-rs/gir-files @ ac272584)

View file

@ -18,6 +18,7 @@ use gst_rtsp_server_sys;
#[cfg(any(feature = "v1_16", feature = "dox"))]
use std;
use std::boxed::Box as Box_;
use std::mem::transmute;
use RTSPToken;
glib_wrapper! {
@ -308,7 +309,9 @@ impl<O: IsA<RTSPAuth>> RTSPAuthExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"accept-certificate\0".as_ptr() as *const _,
Some(*(&accept_certificate_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
accept_certificate_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -17,6 +17,7 @@ use gst_rtsp_server_sys;
#[cfg(any(feature = "v1_12", feature = "dox"))]
use gst_rtsp_sys;
use std::boxed::Box as Box_;
use std::mem::transmute;
use RTSPAuth;
use RTSPContext;
use RTSPFilterResult;
@ -447,7 +448,9 @@ impl<O: IsA<RTSPClient>> RTSPClientExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"announce-request\0".as_ptr() as *const _,
Some(*(&announce_request_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
announce_request_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -472,7 +475,9 @@ impl<O: IsA<RTSPClient>> RTSPClientExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"closed\0".as_ptr() as *const _,
Some(*(&closed_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
closed_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -503,7 +508,9 @@ impl<O: IsA<RTSPClient>> RTSPClientExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"describe-request\0".as_ptr() as *const _,
Some(*(&describe_request_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
describe_request_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -534,7 +541,9 @@ impl<O: IsA<RTSPClient>> RTSPClientExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"get-parameter-request\0".as_ptr() as *const _,
Some(*(&get_parameter_request_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
get_parameter_request_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -565,7 +574,9 @@ impl<O: IsA<RTSPClient>> RTSPClientExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"handle-response\0".as_ptr() as *const _,
Some(*(&handle_response_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
handle_response_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -596,7 +607,9 @@ impl<O: IsA<RTSPClient>> RTSPClientExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"new-session\0".as_ptr() as *const _,
Some(*(&new_session_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
new_session_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -627,7 +640,9 @@ impl<O: IsA<RTSPClient>> RTSPClientExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"options-request\0".as_ptr() as *const _,
Some(*(&options_request_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
options_request_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -658,7 +673,9 @@ impl<O: IsA<RTSPClient>> RTSPClientExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"pause-request\0".as_ptr() as *const _,
Some(*(&pause_request_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
pause_request_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -689,7 +706,9 @@ impl<O: IsA<RTSPClient>> RTSPClientExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"play-request\0".as_ptr() as *const _,
Some(*(&play_request_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
play_request_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -725,7 +744,9 @@ impl<O: IsA<RTSPClient>> RTSPClientExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"pre-announce-request\0".as_ptr() as *const _,
Some(*(&pre_announce_request_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
pre_announce_request_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -761,7 +782,9 @@ impl<O: IsA<RTSPClient>> RTSPClientExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"pre-describe-request\0".as_ptr() as *const _,
Some(*(&pre_describe_request_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
pre_describe_request_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -797,7 +820,9 @@ impl<O: IsA<RTSPClient>> RTSPClientExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"pre-get-parameter-request\0".as_ptr() as *const _,
Some(*(&pre_get_parameter_request_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
pre_get_parameter_request_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -833,7 +858,9 @@ impl<O: IsA<RTSPClient>> RTSPClientExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"pre-options-request\0".as_ptr() as *const _,
Some(*(&pre_options_request_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
pre_options_request_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -869,7 +896,9 @@ impl<O: IsA<RTSPClient>> RTSPClientExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"pre-pause-request\0".as_ptr() as *const _,
Some(*(&pre_pause_request_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
pre_pause_request_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -905,7 +934,9 @@ impl<O: IsA<RTSPClient>> RTSPClientExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"pre-play-request\0".as_ptr() as *const _,
Some(*(&pre_play_request_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
pre_play_request_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -941,7 +972,9 @@ impl<O: IsA<RTSPClient>> RTSPClientExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"pre-record-request\0".as_ptr() as *const _,
Some(*(&pre_record_request_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
pre_record_request_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -977,7 +1010,9 @@ impl<O: IsA<RTSPClient>> RTSPClientExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"pre-set-parameter-request\0".as_ptr() as *const _,
Some(*(&pre_set_parameter_request_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
pre_set_parameter_request_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -1013,7 +1048,9 @@ impl<O: IsA<RTSPClient>> RTSPClientExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"pre-setup-request\0".as_ptr() as *const _,
Some(*(&pre_setup_request_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
pre_setup_request_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -1049,7 +1086,9 @@ impl<O: IsA<RTSPClient>> RTSPClientExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"pre-teardown-request\0".as_ptr() as *const _,
Some(*(&pre_teardown_request_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
pre_teardown_request_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -1080,7 +1119,9 @@ impl<O: IsA<RTSPClient>> RTSPClientExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"record-request\0".as_ptr() as *const _,
Some(*(&record_request_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
record_request_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -1115,7 +1156,9 @@ impl<O: IsA<RTSPClient>> RTSPClientExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"set-parameter-request\0".as_ptr() as *const _,
Some(*(&set_parameter_request_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
set_parameter_request_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -1146,7 +1189,9 @@ impl<O: IsA<RTSPClient>> RTSPClientExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"setup-request\0".as_ptr() as *const _,
Some(*(&setup_request_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
setup_request_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -1177,7 +1222,9 @@ impl<O: IsA<RTSPClient>> RTSPClientExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"teardown-request\0".as_ptr() as *const _,
Some(*(&teardown_request_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
teardown_request_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -1202,7 +1249,9 @@ impl<O: IsA<RTSPClient>> RTSPClientExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::drop-backlog\0".as_ptr() as *const _,
Some(*(&notify_drop_backlog_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_drop_backlog_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -1227,7 +1276,9 @@ impl<O: IsA<RTSPClient>> RTSPClientExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::mount-points\0".as_ptr() as *const _,
Some(*(&notify_mount_points_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_mount_points_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -1252,7 +1303,9 @@ impl<O: IsA<RTSPClient>> RTSPClientExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::session-pool\0".as_ptr() as *const _,
Some(*(&notify_session_pool_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_session_pool_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -18,6 +18,7 @@ use gst_rtsp;
use gst_rtsp_server_sys;
use libc;
use std::boxed::Box as Box_;
use std::mem::transmute;
use RTSPAddressPool;
use RTSPMediaStatus;
use RTSPPublishClockMode;
@ -934,7 +935,9 @@ impl<O: IsA<RTSPMedia>> RTSPMediaExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"new-state\0".as_ptr() as *const _,
Some(*(&new_state_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
new_state_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -965,7 +968,9 @@ impl<O: IsA<RTSPMedia>> RTSPMediaExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"new-stream\0".as_ptr() as *const _,
Some(*(&new_stream_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
new_stream_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -986,7 +991,9 @@ impl<O: IsA<RTSPMedia>> RTSPMediaExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"prepared\0".as_ptr() as *const _,
Some(*(&prepared_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
prepared_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -1017,7 +1024,9 @@ impl<O: IsA<RTSPMedia>> RTSPMediaExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"removed-stream\0".as_ptr() as *const _,
Some(*(&removed_stream_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
removed_stream_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -1042,7 +1051,9 @@ impl<O: IsA<RTSPMedia>> RTSPMediaExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"target-state\0".as_ptr() as *const _,
Some(*(&target_state_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
target_state_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -1063,7 +1074,9 @@ impl<O: IsA<RTSPMedia>> RTSPMediaExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"unprepared\0".as_ptr() as *const _,
Some(*(&unprepared_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
unprepared_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -1091,7 +1104,9 @@ impl<O: IsA<RTSPMedia>> RTSPMediaExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::bind-mcast-address\0".as_ptr() as *const _,
Some(*(&notify_bind_mcast_address_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_bind_mcast_address_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -1116,7 +1131,9 @@ impl<O: IsA<RTSPMedia>> RTSPMediaExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::buffer-size\0".as_ptr() as *const _,
Some(*(&notify_buffer_size_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_buffer_size_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -1141,7 +1158,9 @@ impl<O: IsA<RTSPMedia>> RTSPMediaExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::clock\0".as_ptr() as *const _,
Some(*(&notify_clock_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_clock_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -1166,7 +1185,9 @@ impl<O: IsA<RTSPMedia>> RTSPMediaExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::eos-shutdown\0".as_ptr() as *const _,
Some(*(&notify_eos_shutdown_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_eos_shutdown_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -1191,7 +1212,9 @@ impl<O: IsA<RTSPMedia>> RTSPMediaExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::latency\0".as_ptr() as *const _,
Some(*(&notify_latency_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_latency_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -1216,7 +1239,9 @@ impl<O: IsA<RTSPMedia>> RTSPMediaExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::max-mcast-ttl\0".as_ptr() as *const _,
Some(*(&notify_max_mcast_ttl_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_max_mcast_ttl_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -1241,7 +1266,9 @@ impl<O: IsA<RTSPMedia>> RTSPMediaExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::profiles\0".as_ptr() as *const _,
Some(*(&notify_profiles_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_profiles_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -1266,7 +1293,9 @@ impl<O: IsA<RTSPMedia>> RTSPMediaExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::protocols\0".as_ptr() as *const _,
Some(*(&notify_protocols_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_protocols_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -1291,7 +1320,9 @@ impl<O: IsA<RTSPMedia>> RTSPMediaExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::reusable\0".as_ptr() as *const _,
Some(*(&notify_reusable_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_reusable_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -1316,7 +1347,9 @@ impl<O: IsA<RTSPMedia>> RTSPMediaExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::shared\0".as_ptr() as *const _,
Some(*(&notify_shared_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_shared_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -1344,7 +1377,9 @@ impl<O: IsA<RTSPMedia>> RTSPMediaExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::stop-on-disconnect\0".as_ptr() as *const _,
Some(*(&notify_stop_on_disconnect_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_stop_on_disconnect_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -1369,7 +1404,9 @@ impl<O: IsA<RTSPMedia>> RTSPMediaExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::suspend-mode\0".as_ptr() as *const _,
Some(*(&notify_suspend_mode_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_suspend_mode_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -1394,7 +1431,9 @@ impl<O: IsA<RTSPMedia>> RTSPMediaExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::time-provider\0".as_ptr() as *const _,
Some(*(&notify_time_provider_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_time_provider_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -1422,7 +1461,9 @@ impl<O: IsA<RTSPMedia>> RTSPMediaExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::transport-mode\0".as_ptr() as *const _,
Some(*(&notify_transport_mode_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_transport_mode_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -17,6 +17,7 @@ use gst;
use gst_rtsp;
use gst_rtsp_server_sys;
use std::boxed::Box as Box_;
use std::mem::transmute;
use RTSPAddressPool;
use RTSPMedia;
use RTSPPublishClockMode;
@ -732,7 +733,9 @@ impl<O: IsA<RTSPMediaFactory>> RTSPMediaFactoryExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"media-configure\0".as_ptr() as *const _,
Some(*(&media_configure_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
media_configure_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -763,7 +766,9 @@ impl<O: IsA<RTSPMediaFactory>> RTSPMediaFactoryExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"media-constructed\0".as_ptr() as *const _,
Some(*(&media_constructed_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
media_constructed_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -791,7 +796,9 @@ impl<O: IsA<RTSPMediaFactory>> RTSPMediaFactoryExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::bind-mcast-address\0".as_ptr() as *const _,
Some(*(&notify_bind_mcast_address_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_bind_mcast_address_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -816,7 +823,9 @@ impl<O: IsA<RTSPMediaFactory>> RTSPMediaFactoryExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::buffer-size\0".as_ptr() as *const _,
Some(*(&notify_buffer_size_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_buffer_size_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -841,7 +850,9 @@ impl<O: IsA<RTSPMediaFactory>> RTSPMediaFactoryExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::clock\0".as_ptr() as *const _,
Some(*(&notify_clock_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_clock_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -866,7 +877,9 @@ impl<O: IsA<RTSPMediaFactory>> RTSPMediaFactoryExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::eos-shutdown\0".as_ptr() as *const _,
Some(*(&notify_eos_shutdown_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_eos_shutdown_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -891,7 +904,9 @@ impl<O: IsA<RTSPMediaFactory>> RTSPMediaFactoryExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::latency\0".as_ptr() as *const _,
Some(*(&notify_latency_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_latency_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -916,7 +931,9 @@ impl<O: IsA<RTSPMediaFactory>> RTSPMediaFactoryExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::launch\0".as_ptr() as *const _,
Some(*(&notify_launch_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_launch_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -941,7 +958,9 @@ impl<O: IsA<RTSPMediaFactory>> RTSPMediaFactoryExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::max-mcast-ttl\0".as_ptr() as *const _,
Some(*(&notify_max_mcast_ttl_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_max_mcast_ttl_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -966,7 +985,9 @@ impl<O: IsA<RTSPMediaFactory>> RTSPMediaFactoryExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::profiles\0".as_ptr() as *const _,
Some(*(&notify_profiles_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_profiles_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -991,7 +1012,9 @@ impl<O: IsA<RTSPMediaFactory>> RTSPMediaFactoryExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::protocols\0".as_ptr() as *const _,
Some(*(&notify_protocols_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_protocols_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -1016,7 +1039,9 @@ impl<O: IsA<RTSPMediaFactory>> RTSPMediaFactoryExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::shared\0".as_ptr() as *const _,
Some(*(&notify_shared_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_shared_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -1044,7 +1069,9 @@ impl<O: IsA<RTSPMediaFactory>> RTSPMediaFactoryExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::stop-on-disconnect\0".as_ptr() as *const _,
Some(*(&notify_stop_on_disconnect_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_stop_on_disconnect_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -1069,7 +1096,9 @@ impl<O: IsA<RTSPMediaFactory>> RTSPMediaFactoryExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::suspend-mode\0".as_ptr() as *const _,
Some(*(&notify_suspend_mode_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_suspend_mode_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -1097,7 +1126,9 @@ impl<O: IsA<RTSPMediaFactory>> RTSPMediaFactoryExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::transport-mode\0".as_ptr() as *const _,
Some(*(&notify_transport_mode_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_transport_mode_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -14,6 +14,7 @@ use glib_sys;
use gobject_sys;
use gst_rtsp_server_sys;
use std::boxed::Box as Box_;
use std::mem::transmute;
use RTSPMediaFactory;
glib_wrapper! {
@ -124,7 +125,9 @@ impl<O: IsA<RTSPMediaFactoryURI>> RTSPMediaFactoryURIExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::uri\0".as_ptr() as *const _,
Some(*(&notify_uri_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_uri_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -149,7 +152,9 @@ impl<O: IsA<RTSPMediaFactoryURI>> RTSPMediaFactoryURIExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::use-gstpay\0".as_ptr() as *const _,
Some(*(&notify_use_gstpay_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_use_gstpay_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -13,6 +13,7 @@ use glib::GString;
use glib_sys;
use gst_rtsp_server_sys;
use std::boxed::Box as Box_;
use std::mem::transmute;
use std::ptr;
use RTSPAuth;
use RTSPClient;
@ -404,7 +405,9 @@ impl<O: IsA<RTSPServer>> RTSPServerExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"client-connected\0".as_ptr() as *const _,
Some(*(&client_connected_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
client_connected_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -429,7 +432,9 @@ impl<O: IsA<RTSPServer>> RTSPServerExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::address\0".as_ptr() as *const _,
Some(*(&notify_address_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_address_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -454,7 +459,9 @@ impl<O: IsA<RTSPServer>> RTSPServerExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::backlog\0".as_ptr() as *const _,
Some(*(&notify_backlog_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_backlog_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -479,7 +486,9 @@ impl<O: IsA<RTSPServer>> RTSPServerExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::bound-port\0".as_ptr() as *const _,
Some(*(&notify_bound_port_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_bound_port_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -504,7 +513,9 @@ impl<O: IsA<RTSPServer>> RTSPServerExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::mount-points\0".as_ptr() as *const _,
Some(*(&notify_mount_points_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_mount_points_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -529,7 +540,9 @@ impl<O: IsA<RTSPServer>> RTSPServerExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::service\0".as_ptr() as *const _,
Some(*(&notify_service_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_service_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -554,7 +567,9 @@ impl<O: IsA<RTSPServer>> RTSPServerExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::session-pool\0".as_ptr() as *const _,
Some(*(&notify_session_pool_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_session_pool_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -16,6 +16,7 @@ use gobject_sys;
use gst_rtsp_server_sys;
use std::boxed::Box as Box_;
use std::mem;
use std::mem::transmute;
use RTSPFilterResult;
use RTSPMedia;
use RTSPSessionMedia;
@ -296,7 +297,9 @@ impl<O: IsA<RTSPSession>> RTSPSessionExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::timeout\0".as_ptr() as *const _,
Some(*(&notify_timeout_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_timeout_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -324,9 +327,9 @@ impl<O: IsA<RTSPSession>> RTSPSessionExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::timeout-always-visible\0".as_ptr() as *const _,
Some(
*(&notify_timeout_always_visible_trampoline::<Self, F> as *const _ as *const _),
),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_timeout_always_visible_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -11,6 +11,7 @@ use glib::translate::*;
use glib_sys;
use gst_rtsp_server_sys;
use std::boxed::Box as Box_;
use std::mem::transmute;
use RTSPFilterResult;
use RTSPSession;
@ -202,7 +203,9 @@ impl<O: IsA<RTSPSessionPool>> RTSPSessionPoolExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"session-removed\0".as_ptr() as *const _,
Some(*(&session_removed_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
session_removed_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -227,7 +230,9 @@ impl<O: IsA<RTSPSessionPool>> RTSPSessionPoolExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::max-sessions\0".as_ptr() as *const _,
Some(*(&notify_max_sessions_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_max_sessions_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -17,6 +17,7 @@ use gst_rtsp_server_sys;
use gst_sys;
use std::boxed::Box as Box_;
use std::mem;
use std::mem::transmute;
use RTSPAddress;
use RTSPAddressPool;
use RTSPFilterResult;
@ -1098,7 +1099,9 @@ impl<O: IsA<RTSPStream>> RTSPStreamExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"new-rtcp-encoder\0".as_ptr() as *const _,
Some(*(&new_rtcp_encoder_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
new_rtcp_encoder_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -1129,7 +1132,9 @@ impl<O: IsA<RTSPStream>> RTSPStreamExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"new-rtp-encoder\0".as_ptr() as *const _,
Some(*(&new_rtp_encoder_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
new_rtp_encoder_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -1160,7 +1165,9 @@ impl<O: IsA<RTSPStream>> RTSPStreamExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"new-rtp-rtcp-decoder\0".as_ptr() as *const _,
Some(*(&new_rtp_rtcp_decoder_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
new_rtp_rtcp_decoder_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -1185,7 +1192,9 @@ impl<O: IsA<RTSPStream>> RTSPStreamExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::control\0".as_ptr() as *const _,
Some(*(&notify_control_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_control_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -1210,7 +1219,9 @@ impl<O: IsA<RTSPStream>> RTSPStreamExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::profiles\0".as_ptr() as *const _,
Some(*(&notify_profiles_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_profiles_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -1235,7 +1246,9 @@ impl<O: IsA<RTSPStream>> RTSPStreamExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::protocols\0".as_ptr() as *const _,
Some(*(&notify_protocols_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_protocols_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -10,6 +10,7 @@ use glib::translate::*;
use glib_sys;
use gst_rtsp_server_sys;
use std::boxed::Box as Box_;
use std::mem::transmute;
use RTSPContext;
use RTSPThread;
use RTSPThreadType;
@ -107,7 +108,9 @@ impl<O: IsA<RTSPThreadPool>> RTSPThreadPoolExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::max-threads\0".as_ptr() as *const _,
Some(*(&notify_max_threads_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_max_threads_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5231cae)
from gir-files (https://github.com/gtk-rs/gir-files @ 83f2748e)
Generated by gir (https://github.com/gtk-rs/gir @ 2abca11)
from gir-files (https://github.com/gtk-rs/gir-files @ ac272584)

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5231cae)
from gir-files (https://github.com/gtk-rs/gir-files @ 83f2748e)
Generated by gir (https://github.com/gtk-rs/gir @ 2abca11)
from gir-files (https://github.com/gtk-rs/gir-files @ ac272584)

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5231cae)
from gir-files (https://github.com/gtk-rs/gir-files @ 83f2748e)
Generated by gir (https://github.com/gtk-rs/gir @ 2abca11)
from gir-files (https://github.com/gtk-rs/gir-files @ ac272584)

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5231cae)
from gir-files (https://github.com/gtk-rs/gir-files @ 83f2748e)
Generated by gir (https://github.com/gtk-rs/gir @ 2abca11)
from gir-files (https://github.com/gtk-rs/gir-files @ ac272584)

View file

@ -15,6 +15,7 @@ use gobject_sys;
use gst;
use gst_video_sys;
use std::boxed::Box as Box_;
use std::mem::transmute;
#[cfg(any(feature = "v1_14", feature = "dox"))]
use VideoCodecFrame;
@ -183,7 +184,9 @@ impl<O: IsA<VideoEncoder>> VideoEncoderExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::qos\0".as_ptr() as *const _,
Some(*(&notify_qos_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_qos_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5231cae)
from gir-files (https://github.com/gtk-rs/gir-files @ 83f2748e)
Generated by gir (https://github.com/gtk-rs/gir @ 2abca11)
from gir-files (https://github.com/gtk-rs/gir-files @ ac272584)

View file

@ -13,6 +13,7 @@ use glib_sys;
use gobject_sys;
use gst_web_rtc_sys;
use std::boxed::Box as Box_;
use std::mem::transmute;
use WebRTCDTLSTransportState;
use WebRTCICETransport;
@ -188,7 +189,9 @@ impl WebRTCDTLSTransport {
connect_raw(
self.as_ptr() as *mut _,
b"notify::certificate\0".as_ptr() as *const _,
Some(*(&notify_certificate_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_certificate_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -213,7 +216,9 @@ impl WebRTCDTLSTransport {
connect_raw(
self.as_ptr() as *mut _,
b"notify::client\0".as_ptr() as *const _,
Some(*(&notify_client_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_client_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -240,7 +245,9 @@ impl WebRTCDTLSTransport {
connect_raw(
self.as_ptr() as *mut _,
b"notify::remote-certificate\0".as_ptr() as *const _,
Some(*(&notify_remote_certificate_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_remote_certificate_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -265,7 +272,9 @@ impl WebRTCDTLSTransport {
connect_raw(
self.as_ptr() as *mut _,
b"notify::state\0".as_ptr() as *const _,
Some(*(&notify_state_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_state_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -292,7 +301,9 @@ impl WebRTCDTLSTransport {
connect_raw(
self.as_ptr() as *mut _,
b"notify::transport\0".as_ptr() as *const _,
Some(*(&notify_transport_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_transport_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -14,6 +14,7 @@ use gobject_sys;
use gst_web_rtc_sys;
use libc;
use std::boxed::Box as Box_;
use std::mem::transmute;
use WebRTCICEComponent;
use WebRTCICEConnectionState;
use WebRTCICEGatheringState;
@ -128,7 +129,9 @@ impl WebRTCICETransport {
connect_raw(
self.as_ptr() as *mut _,
b"on-new-candidate\0".as_ptr() as *const _,
Some(*(&on_new_candidate_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
on_new_candidate_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -154,7 +157,9 @@ impl WebRTCICETransport {
connect_raw(
self.as_ptr() as *mut _,
b"on-selected-candidate-pair-change\0".as_ptr() as *const _,
Some(*(&on_selected_candidate_pair_change_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
on_selected_candidate_pair_change_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -181,7 +186,9 @@ impl WebRTCICETransport {
connect_raw(
self.as_ptr() as *mut _,
b"notify::gathering-state\0".as_ptr() as *const _,
Some(*(&notify_gathering_state_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_gathering_state_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -206,7 +213,9 @@ impl WebRTCICETransport {
connect_raw(
self.as_ptr() as *mut _,
b"notify::state\0".as_ptr() as *const _,
Some(*(&notify_state_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_state_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -14,6 +14,7 @@ use glib_sys;
use gobject_sys;
use gst_sys;
use std::boxed::Box as Box_;
use std::mem::transmute;
use ChildProxy;
use Element;
#[cfg(any(feature = "v1_10", feature = "dox"))]
@ -329,7 +330,9 @@ impl<O: IsA<Bin>> GstBinExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"deep-element-added\0".as_ptr() as *const _,
Some(*(&deep_element_added_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
deep_element_added_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -363,7 +366,9 @@ impl<O: IsA<Bin>> GstBinExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"deep-element-removed\0".as_ptr() as *const _,
Some(*(&deep_element_removed_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
deep_element_removed_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -394,7 +399,9 @@ impl<O: IsA<Bin>> GstBinExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"element-added\0".as_ptr() as *const _,
Some(*(&element_added_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
element_added_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -425,7 +432,9 @@ impl<O: IsA<Bin>> GstBinExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"element-removed\0".as_ptr() as *const _,
Some(*(&element_removed_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
element_removed_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -453,7 +462,9 @@ impl<O: IsA<Bin>> GstBinExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::async-handling\0".as_ptr() as *const _,
Some(*(&notify_async_handling_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_async_handling_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -481,7 +492,9 @@ impl<O: IsA<Bin>> GstBinExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::message-forward\0".as_ptr() as *const _,
Some(*(&notify_message_forward_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_message_forward_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -10,6 +10,7 @@ use glib::translate::*;
use glib_sys;
use gst_sys;
use std::boxed::Box as Box_;
use std::mem::transmute;
use ClockTime;
use Message;
use Object;
@ -124,7 +125,9 @@ impl Bus {
connect_raw(
self.as_ptr() as *mut _,
b"message\0".as_ptr() as *const _,
Some(*(&message_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
message_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -149,7 +152,9 @@ impl Bus {
connect_raw(
self.as_ptr() as *mut _,
b"sync-message\0".as_ptr() as *const _,
Some(*(&sync_message_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
sync_message_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -14,6 +14,7 @@ use gobject_sys;
use gst_sys;
use libc;
use std::boxed::Box as Box_;
use std::mem::transmute;
glib_wrapper! {
pub struct ChildProxy(Interface<gst_sys::GstChildProxy>);
@ -162,7 +163,9 @@ impl<O: IsA<ChildProxy>> ChildProxyExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"child-added\0".as_ptr() as *const _,
Some(*(&child_added_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
child_added_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -195,7 +198,9 @@ impl<O: IsA<ChildProxy>> ChildProxyExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"child-removed\0".as_ptr() as *const _,
Some(*(&child_removed_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
child_removed_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -15,6 +15,7 @@ use gobject_sys;
use gst_sys;
use std::boxed::Box as Box_;
use std::mem;
use std::mem::transmute;
use ClockTime;
use Object;
@ -438,7 +439,9 @@ impl<O: IsA<Clock>> ClockExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"synced\0".as_ptr() as *const _,
Some(*(&synced_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
synced_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -463,7 +466,9 @@ impl<O: IsA<Clock>> ClockExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::timeout\0".as_ptr() as *const _,
Some(*(&notify_timeout_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_timeout_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -488,7 +493,9 @@ impl<O: IsA<Clock>> ClockExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::window-size\0".as_ptr() as *const _,
Some(*(&notify_window_size_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_window_size_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -516,7 +523,9 @@ impl<O: IsA<Clock>> ClockExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::window-threshold\0".as_ptr() as *const _,
Some(*(&notify_window_threshold_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_window_threshold_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -12,6 +12,7 @@ use glib::GString;
use glib_sys;
use gst_sys;
use std::boxed::Box as Box_;
use std::mem::transmute;
use Caps;
use Element;
use Object;
@ -140,7 +141,9 @@ impl<O: IsA<Device>> DeviceExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"removed\0".as_ptr() as *const _,
Some(*(&removed_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
removed_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -15,6 +15,7 @@ use glib_sys;
use gobject_sys;
use gst_sys;
use std::boxed::Box as Box_;
use std::mem::transmute;
use Bus;
use Device;
use Object;
@ -158,7 +159,9 @@ impl<O: IsA<DeviceMonitor>> DeviceMonitorExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::show-all\0".as_ptr() as *const _,
Some(*(&notify_show_all_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_show_all_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -13,6 +13,7 @@ use glib_sys;
use gst_sys;
use libc;
use std::boxed::Box as Box_;
use std::mem::transmute;
use Bus;
use Device;
use DeviceProviderFactory;
@ -196,7 +197,9 @@ impl<O: IsA<DeviceProvider>> DeviceProviderExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"provider-hidden\0".as_ptr() as *const _,
Some(*(&provider_hidden_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
provider_hidden_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -227,7 +230,9 @@ impl<O: IsA<DeviceProvider>> DeviceProviderExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"provider-unhidden\0".as_ptr() as *const _,
Some(*(&provider_unhidden_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
provider_unhidden_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -11,6 +11,7 @@ use glib::translate::*;
use glib_sys;
use gst_sys;
use std::boxed::Box as Box_;
use std::mem::transmute;
use std::ptr;
use Bus;
use Caps;
@ -676,7 +677,9 @@ impl<O: IsA<Element>> ElementExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"no-more-pads\0".as_ptr() as *const _,
Some(*(&no_more_pads_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
no_more_pads_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -704,7 +707,9 @@ impl<O: IsA<Element>> ElementExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"pad-added\0".as_ptr() as *const _,
Some(*(&pad_added_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
pad_added_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -732,7 +737,9 @@ impl<O: IsA<Element>> ElementExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"pad-removed\0".as_ptr() as *const _,
Some(*(&pad_removed_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
pad_removed_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -12,6 +12,7 @@ use glib::GString;
use glib_sys;
use gst_sys;
use std::boxed::Box as Box_;
use std::mem::transmute;
use ClockTime;
glib_wrapper! {
@ -307,7 +308,9 @@ impl<O: IsA<Object>> GstObjectExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::name\0".as_ptr() as *const _,
Some(*(&notify_name_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_name_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -332,7 +335,9 @@ impl<O: IsA<Object>> GstObjectExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::parent\0".as_ptr() as *const _,
Some(*(&notify_parent_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_parent_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -15,6 +15,7 @@ use glib_sys;
use gobject_sys;
use gst_sys;
use std::boxed::Box as Box_;
use std::mem::transmute;
use Caps;
use Element;
use Event;
@ -581,7 +582,9 @@ impl<O: IsA<Pad>> PadExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"linked\0".as_ptr() as *const _,
Some(*(&linked_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
linked_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -609,7 +612,9 @@ impl<O: IsA<Pad>> PadExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"unlinked\0".as_ptr() as *const _,
Some(*(&unlinked_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
unlinked_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -634,7 +639,9 @@ impl<O: IsA<Pad>> PadExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::caps\0".as_ptr() as *const _,
Some(*(&notify_caps_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_caps_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -659,7 +666,9 @@ impl<O: IsA<Pad>> PadExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::offset\0".as_ptr() as *const _,
Some(*(&notify_offset_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_offset_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -684,7 +693,9 @@ impl<O: IsA<Pad>> PadExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::template\0".as_ptr() as *const _,
Some(*(&notify_template_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_template_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -15,6 +15,7 @@ use glib_sys;
use gobject_sys;
use gst_sys;
use std::boxed::Box as Box_;
use std::mem::transmute;
use Caps;
use Object;
use Pad;
@ -161,7 +162,9 @@ impl PadTemplate {
connect_raw(
self.as_ptr() as *mut _,
b"pad-created\0".as_ptr() as *const _,
Some(*(&pad_created_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
pad_created_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -10,6 +10,7 @@ use glib::translate::*;
use glib_sys;
use gst_sys;
use std::boxed::Box as Box_;
use std::mem::transmute;
use Bin;
use ChildProxy;
use Clock;
@ -165,7 +166,9 @@ impl<O: IsA<Pipeline>> PipelineExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::auto-flush-bus\0".as_ptr() as *const _,
Some(*(&notify_auto_flush_bus_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_auto_flush_bus_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -190,7 +193,9 @@ impl<O: IsA<Pipeline>> PipelineExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::delay\0".as_ptr() as *const _,
Some(*(&notify_delay_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_delay_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -215,7 +220,9 @@ impl<O: IsA<Pipeline>> PipelineExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::latency\0".as_ptr() as *const _,
Some(*(&notify_latency_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_latency_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -12,6 +12,7 @@ use glib_sys;
use gst_sys;
use std;
use std::boxed::Box as Box_;
use std::mem::transmute;
use Object;
use Plugin;
use PluginFeature;
@ -232,7 +233,9 @@ impl Registry {
connect_raw(
self.as_ptr() as *mut _,
b"feature-added\0".as_ptr() as *const _,
Some(*(&feature_added_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
feature_added_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -257,7 +260,9 @@ impl Registry {
connect_raw(
self.as_ptr() as *mut _,
b"plugin-added\0".as_ptr() as *const _,
Some(*(&plugin_added_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
plugin_added_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -13,6 +13,7 @@ use glib_sys;
use gobject_sys;
use gst_sys;
use std::boxed::Box as Box_;
use std::mem::transmute;
use Caps;
use Object;
use StreamFlags;
@ -210,7 +211,9 @@ impl Stream {
connect_raw(
self.as_ptr() as *mut _,
b"notify::caps\0".as_ptr() as *const _,
Some(*(&notify_caps_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_caps_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -235,7 +238,9 @@ impl Stream {
connect_raw(
self.as_ptr() as *mut _,
b"notify::stream-flags\0".as_ptr() as *const _,
Some(*(&notify_stream_flags_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_stream_flags_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -260,7 +265,9 @@ impl Stream {
connect_raw(
self.as_ptr() as *mut _,
b"notify::stream-type\0".as_ptr() as *const _,
Some(*(&notify_stream_type_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_stream_type_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}
@ -283,7 +290,9 @@ impl Stream {
connect_raw(
self.as_ptr() as *mut _,
b"notify::tags\0".as_ptr() as *const _,
Some(*(&notify_tags_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_tags_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -13,6 +13,7 @@ use glib_sys;
use gobject_sys;
use gst_sys;
use std::boxed::Box as Box_;
use std::mem::transmute;
use Object;
#[cfg(any(feature = "v1_10", feature = "dox"))]
use Stream;
@ -97,7 +98,9 @@ impl StreamCollection {
connect_raw(
self.as_ptr() as *mut _,
b"notify::upstream-id\0".as_ptr() as *const _,
Some(*(&notify_upstream_id_trampoline::<F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_upstream_id_trampoline::<F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -13,6 +13,7 @@ use glib_sys;
use gobject_sys;
use gst_sys;
use std::boxed::Box as Box_;
use std::mem::transmute;
use Clock;
use ClockType;
use Object;
@ -100,7 +101,9 @@ impl<O: IsA<SystemClock>> SystemClockExt for O {
connect_raw(
self.as_ptr() as *mut _,
b"notify::clock-type\0".as_ptr() as *const _,
Some(*(&notify_clock_type_trampoline::<Self, F> as *const _ as *const _)),
Some(transmute::<_, unsafe extern "C" fn()>(
notify_clock_type_trampoline::<Self, F> as *const (),
)),
Box_::into_raw(f),
)
}

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 5231cae)
from gir-files (https://github.com/gtk-rs/gir-files @ 83f2748e)
Generated by gir (https://github.com/gtk-rs/gir @ 2abca11)
from gir-files (https://github.com/gtk-rs/gir-files @ ac272584)