Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
videolan
vlc-gpu
Commits
78418c51
Commit
78418c51
authored
May 25, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove vlc_object_detach()
parent
fbbde4b2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
29 deletions
+1
-29
src/libvlc.h
src/libvlc.h
+0
-6
src/misc/objects.c
src/misc/objects.c
+1
-23
No files found.
src/libvlc.h
View file @
78418c51
...
...
@@ -45,12 +45,6 @@ void system_Init ( libvlc_int_t *, int *, const char *[] );
void
system_Configure
(
libvlc_int_t
*
,
int
,
const
char
*
const
[]
);
void
system_End
(
libvlc_int_t
*
);
/*
* Legacy object stuff that is still used within libvlccore (only)
*/
void
vlc_object_detach
(
vlc_object_t
*
);
#define vlc_object_detach( o ) vlc_object_detach(VLC_OBJECT(o))
/*
* Threads subsystem
*/
...
...
src/misc/objects.c
View file @
78418c51
...
...
@@ -615,7 +615,7 @@ void vlc_object_release( vlc_object_t *p_this )
* attach object to a parent object
*****************************************************************************
* This function sets p_this as a child of p_parent, and p_parent as a parent
* of p_this.
This link can be undone using vlc_object_detach.
* of p_this.
*****************************************************************************/
void
vlc_object_attach
(
vlc_object_t
*
p_this
,
vlc_object_t
*
p_parent
)
{
...
...
@@ -684,28 +684,6 @@ static void vlc_object_detach_unlocked (vlc_object_t *p_this)
p_this
->
p_parent
=
NULL
;
}
#undef vlc_object_detach
/**
****************************************************************************
* detach object from its parent
*****************************************************************************
* This function removes all links between an object and its parent.
*****************************************************************************/
void
vlc_object_detach
(
vlc_object_t
*
p_this
)
{
vlc_object_t
*
p_parent
;
if
(
!
p_this
)
return
;
libvlc_lock
(
p_this
->
p_libvlc
);
p_parent
=
p_this
->
p_parent
;
if
(
p_parent
)
vlc_object_detach_unlocked
(
p_this
);
libvlc_unlock
(
p_this
->
p_libvlc
);
if
(
p_parent
)
vlc_object_release
(
p_parent
);
}
#undef vlc_list_children
/**
* Gets the list of children of an objects, and increment their reference
...
...
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