gstreamer-rs/gstreamer-rtsp-server/src/auto/rtsp_address.rs
François Laignel 172a4d47ab regen: use type_ for glib macros
This also includes a new substitution for bool getters:
get_need_... -> needs_...
2021-04-20 18:18:02 +02:00

20 lines
616 B
Rust

// This file was generated by gir (https://github.com/gtk-rs/gir)
// from gir-files (https://github.com/gtk-rs/gir-files)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
// DO NOT EDIT
use glib::translate::*;
glib::wrapper! {
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct RTSPAddress(Boxed<ffi::GstRTSPAddress>);
match fn {
copy => |ptr| ffi::gst_rtsp_address_copy(mut_override(ptr)),
free => |ptr| ffi::gst_rtsp_address_free(ptr),
type_ => || ffi::gst_rtsp_address_get_type(),
}
}
unsafe impl Send for RTSPAddress {}