Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
gstreamer-rs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Zeeshan Ali
gstreamer-rs
Commits
e2950749
Commit
e2950749
authored
Oct 11, 2018
by
Sebastian Dröge
🍵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove some unneeded lifetime annotations
parent
d19c7069
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
gstreamer/src/meta.rs
gstreamer/src/meta.rs
+4
-4
No files found.
gstreamer/src/meta.rs
View file @
e2950749
...
...
@@ -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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment