mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2025-09-03 10:23:48 +00:00
log: Add as_ptr() for DebugMessage
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1615>
This commit is contained in:
parent
45140ac971
commit
7184e67d80
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