gstreamer-rs/gstreamer-rtsp-server/src/auto/r_t_s_p_address.rs
Mathieu Duponchelle a00243d529 Add initial libgstsdp, libgstrtsp and libgstrtspserver bindings
Only automatic bindings for now, which is enough to allow
implementing a simple rtsp-server example.

Depends on https://github.com/sdroege/gstreamer-sys/pull/8

Uses a new gir feature proposed at
https://github.com/gtk-rs/gir/pull/539 to make doc regeneration
easier.

Fixes https://github.com/sdroege/gstreamer-rs/pull/80
2018-02-14 18:57:58 +02:00

23 lines
561 B
Rust

// This file was generated by gir (https://github.com/gtk-rs/gir @ 47eb915)
// 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! {
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),
get_type => || ffi::gst_rtsp_address_get_type(),
}
}
unsafe impl Send for RTSPAddress {}