gstreamer-rs/gstreamer-webrtc/src/auto/web_rtc_session_description.rs
2018-08-18 00:25:12 +03:00

25 lines
734 B
Rust

// 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 ffi;
use glib::translate::*;
use glib_ffi;
use gobject_ffi;
use std::mem;
use std::ptr;
glib_wrapper! {
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct WebRTCSessionDescription(Boxed<ffi::GstWebRTCSessionDescription>);
match fn {
copy => |ptr| ffi::gst_webrtc_session_description_copy(mut_override(ptr)),
free => |ptr| ffi::gst_webrtc_session_description_free(ptr),
get_type => || ffi::gst_webrtc_session_description_get_type(),
}
}
unsafe impl Send for WebRTCSessionDescription {}
unsafe impl Sync for WebRTCSessionDescription {}