forked from mirrors/gstreamer-rs
gstreamer: Mark DebugCategory
as repr(transparent)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1263>
This commit is contained in:
parent
9453d63631
commit
4384934b32
1 changed files with 1 additions and 0 deletions
|
@ -52,6 +52,7 @@ impl DebugMessage {
|
||||||
|
|
||||||
#[derive(PartialEq, Eq, Clone, Copy)]
|
#[derive(PartialEq, Eq, Clone, Copy)]
|
||||||
#[doc(alias = "GstDebugCategory")]
|
#[doc(alias = "GstDebugCategory")]
|
||||||
|
#[repr(transparent)]
|
||||||
pub struct DebugCategory(Option<ptr::NonNull<ffi::GstDebugCategory>>);
|
pub struct DebugCategory(Option<ptr::NonNull<ffi::GstDebugCategory>>);
|
||||||
|
|
||||||
impl DebugCategory {
|
impl DebugCategory {
|
||||||
|
|
Loading…
Reference in a new issue