gstreamer-rs/gstreamer-rtsp-server/src/auto/rtsp_address.rs

20 lines
625 B
Rust
Raw Normal View History

2018-04-23 17:34:22 +00:00
// This file was generated by gir (https://github.com/gtk-rs/gir)
// from gir-files (https://github.com/gtk-rs/gir-files)
// DO NOT EDIT
use glib::translate::*;
2019-03-19 07:40:05 +00:00
use gst_rtsp_server_sys;
glib_wrapper! {
2018-08-17 21:25:12 +00:00
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
2019-03-19 07:40:05 +00:00
pub struct RTSPAddress(Boxed<gst_rtsp_server_sys::GstRTSPAddress>);
match fn {
2019-03-19 07:40:05 +00:00
copy => |ptr| gst_rtsp_server_sys::gst_rtsp_address_copy(mut_override(ptr)),
free => |ptr| gst_rtsp_server_sys::gst_rtsp_address_free(ptr),
get_type => || gst_rtsp_server_sys::gst_rtsp_address_get_type(),
}
}
unsafe impl Send for RTSPAddress {}