mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-06-09 17:59:24 +00:00
27 lines
1 KiB
Rust
27 lines
1 KiB
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 std::ffi::CStr;
|
||
|
|
||
|
#[doc(alias = "GST_ALLOCATOR_DMABUF")]
|
||
|
pub static ALLOCATOR_DMABUF: once_cell::sync::Lazy<&'static str> =
|
||
|
once_cell::sync::Lazy::new(|| unsafe {
|
||
|
CStr::from_ptr(ffi::GST_ALLOCATOR_DMABUF).to_str().unwrap()
|
||
|
});
|
||
|
#[doc(alias = "GST_ALLOCATOR_FD")]
|
||
|
pub static ALLOCATOR_FD: once_cell::sync::Lazy<&'static str> =
|
||
|
once_cell::sync::Lazy::new(|| unsafe {
|
||
|
CStr::from_ptr(ffi::GST_ALLOCATOR_FD).to_str().unwrap()
|
||
|
});
|
||
|
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||
|
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_12")))]
|
||
|
#[doc(alias = "GST_CAPS_FEATURE_MEMORY_DMABUF")]
|
||
|
pub static CAPS_FEATURE_MEMORY_DMABUF: once_cell::sync::Lazy<&'static str> =
|
||
|
once_cell::sync::Lazy::new(|| unsafe {
|
||
|
CStr::from_ptr(ffi::GST_CAPS_FEATURE_MEMORY_DMABUF)
|
||
|
.to_str()
|
||
|
.unwrap()
|
||
|
});
|