From 4384934b3261b6b060c1e164bf4700b90d5ae24a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sat, 13 May 2023 14:06:58 +0300 Subject: [PATCH] gstreamer: Mark `DebugCategory` as `repr(transparent)` Part-of: --- gstreamer/src/log.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/gstreamer/src/log.rs b/gstreamer/src/log.rs index 807f34ed4..0aa3f7612 100644 --- a/gstreamer/src/log.rs +++ b/gstreamer/src/log.rs @@ -52,6 +52,7 @@ impl DebugMessage { #[derive(PartialEq, Eq, Clone, Copy)] #[doc(alias = "GstDebugCategory")] +#[repr(transparent)] pub struct DebugCategory(Option>); impl DebugCategory {