2023-11-10 14:41:39 +00:00
|
|
|
// 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
|
|
|
|
|
2024-06-01 13:14:58 +00:00
|
|
|
use crate::{ffi, FdAllocator};
|
2023-11-10 14:41:39 +00:00
|
|
|
|
|
|
|
glib::wrapper! {
|
|
|
|
#[doc(alias = "GstShmAllocator")]
|
|
|
|
pub struct ShmAllocator(Object<ffi::GstShmAllocator, ffi::GstShmAllocatorClass>) @extends FdAllocator, gst::Allocator;
|
|
|
|
|
|
|
|
match fn {
|
|
|
|
type_ => || ffi::gst_shm_allocator_get_type(),
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-11-11 09:43:17 +00:00
|
|
|
impl ShmAllocator {}
|
2023-11-10 14:41:39 +00:00
|
|
|
|
|
|
|
unsafe impl Send for ShmAllocator {}
|
|
|
|
unsafe impl Sync for ShmAllocator {}
|