mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-06-04 15:29:23 +00:00
25 lines
734 B
Rust
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 {}
|