mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-12-18 14:16:45 +00:00
log: Add as_ptr() for DebugMessage
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1614>
This commit is contained in:
parent
a0de8269f1
commit
30dbda1a1c
1 changed files with 5 additions and 0 deletions
|
@ -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)]
|
||||
|
|
Loading…
Reference in a new issue