Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
d88c9875
Commit
d88c9875
authored
May 17, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vlc_object_get sucks, document it
parent
7f120f79
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
src/misc/objects.c
src/misc/objects.c
+7
-4
No files found.
src/misc/objects.c
View file @
d88c9875
...
...
@@ -661,11 +661,14 @@ void __vlc_object_kill( vlc_object_t *p_this )
/**
*
find an object given its ID
*
Find an object given its ID.
*
* This function looks for the object whose i_object_id field is i_id. We
* use a dichotomy so that lookups are in log2(n).
*****************************************************************************/
* This function looks for the object whose i_object_id field is i_id.
* This function is slow, and often used to hide bugs. Do not use it.
* If you need to retain reference to an object, yield the object pointer with
* vlc_object_yield(), use the pointer as your reference, and call
* vlc_object_release() when you're done.
*/
void
*
vlc_object_get
(
int
i_id
)
{
int
i_max
,
i_middle
;
...
...
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