1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
// 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::*;
use gst_web_rtc_sys;

glib_wrapper! {
    /// See <ulink url="https://www.w3.org/TR/webrtc/`rtcsessiondescription`-class">https://www.w3.org/TR/webrtc/`rtcsessiondescription`-class`</ulink>`
    #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
    pub struct WebRTCSessionDescription(Boxed<gst_web_rtc_sys::GstWebRTCSessionDescription>);

    match fn {
        copy => |ptr| gst_web_rtc_sys::gst_webrtc_session_description_copy(mut_override(ptr)),
        free => |ptr| gst_web_rtc_sys::gst_webrtc_session_description_free(ptr),
        get_type => || gst_web_rtc_sys::gst_webrtc_session_description_get_type(),
    }
}

unsafe impl Send for WebRTCSessionDescription {}
unsafe impl Sync for WebRTCSessionDescription {}