mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-23 01:51:06 +00:00
Remove some unneeded lifetime annotations
This commit is contained in:
parent
d19c70694a
commit
e2950749e8
1 changed files with 4 additions and 4 deletions
|
@ -24,7 +24,7 @@ pub unsafe trait MetaAPI: Sized {
|
|||
|
||||
fn get_meta_api() -> glib::Type;
|
||||
|
||||
unsafe fn from_ptr<'a>(buffer: &'a BufferRef, ptr: *const Self::GstType) -> MetaRef<'a, Self> {
|
||||
unsafe fn from_ptr(buffer: &BufferRef, ptr: *const Self::GstType) -> MetaRef<Self> {
|
||||
assert!(!ptr.is_null());
|
||||
|
||||
let meta_api = Self::get_meta_api();
|
||||
|
@ -41,10 +41,10 @@ pub unsafe trait MetaAPI: Sized {
|
|||
}
|
||||
}
|
||||
|
||||
unsafe fn from_mut_ptr<'a, T>(
|
||||
buffer: &'a mut BufferRef,
|
||||
unsafe fn from_mut_ptr<T>(
|
||||
buffer: &mut BufferRef,
|
||||
ptr: *mut Self::GstType,
|
||||
) -> MetaRefMut<'a, Self, T> {
|
||||
) -> MetaRefMut<Self, T> {
|
||||
assert!(!ptr.is_null());
|
||||
|
||||
let meta_api = Self::get_meta_api();
|
||||
|
|
Loading…
Reference in a new issue