log: Add as_ptr() for DebugMessage

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1614>
This commit is contained in:
Piotr Brzeziński 2024-12-13 12:23:46 +01:00
parent a0de8269f1
commit 30dbda1a1c

View file

@ -66,6 +66,11 @@ impl DebugMessage {
}
}
}
#[inline]
pub fn as_ptr(&self) -> *mut ffi::GstDebugMessage {
self.0.as_ptr()
}
}
#[derive(PartialEq, Eq, Clone, Copy, Hash)]