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
ab121fdf
Commit
ab121fdf
authored
Mar 29, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
objects: Export vlc_object_dump() to debug.
parent
719f5761
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
0 deletions
+17
-0
include/vlc_objects.h
include/vlc_objects.h
+6
-0
src/libvlc.sym
src/libvlc.sym
+1
-0
src/misc/objects.c
src/misc/objects.c
+10
-0
No files found.
include/vlc_objects.h
View file @
ab121fdf
...
@@ -113,6 +113,9 @@ VLC_EXPORT( void, __vlc_object_release, ( vlc_object_t * ) );
...
@@ -113,6 +113,9 @@ VLC_EXPORT( void, __vlc_object_release, ( vlc_object_t * ) );
VLC_EXPORT
(
vlc_list_t
*
,
__vlc_list_find
,
(
vlc_object_t
*
,
int
,
int
)
);
VLC_EXPORT
(
vlc_list_t
*
,
__vlc_list_find
,
(
vlc_object_t
*
,
int
,
int
)
);
VLC_EXPORT
(
void
,
vlc_list_release
,
(
vlc_list_t
*
)
);
VLC_EXPORT
(
void
,
vlc_list_release
,
(
vlc_list_t
*
)
);
/* __vlc_object_dump */
VLC_EXPORT
(
void
,
__vlc_object_dump
,
(
vlc_object_t
*
p_this
)
);
/*}@*/
/*}@*/
#define vlc_object_create(a,b) \
#define vlc_object_create(a,b) \
...
@@ -142,6 +145,9 @@ VLC_EXPORT( void, vlc_list_release, ( vlc_list_t * ) );
...
@@ -142,6 +145,9 @@ VLC_EXPORT( void, vlc_list_release, ( vlc_list_t * ) );
#define vlc_list_find(a,b,c) \
#define vlc_list_find(a,b,c) \
__vlc_list_find( VLC_OBJECT(a),b,c)
__vlc_list_find( VLC_OBJECT(a),b,c)
#define vlc_object_dump(a) \
__vlc_object_dump( VLC_OBJECT(a))
/* Objects and threading */
/* Objects and threading */
VLC_EXPORT
(
void
,
__vlc_object_lock
,
(
vlc_object_t
*
)
);
VLC_EXPORT
(
void
,
__vlc_object_lock
,
(
vlc_object_t
*
)
);
...
...
src/libvlc.sym
View file @
ab121fdf
...
@@ -412,6 +412,7 @@ __vlc_object_alive
...
@@ -412,6 +412,7 @@ __vlc_object_alive
__vlc_object_attach
__vlc_object_attach
__vlc_object_create
__vlc_object_create
__vlc_object_detach
__vlc_object_detach
__vlc_object_dump
__vlc_object_find
__vlc_object_find
__vlc_object_find_name
__vlc_object_find_name
vlc_object_get
vlc_object_get
...
...
src/misc/objects.c
View file @
ab121fdf
...
@@ -1228,6 +1228,16 @@ void vlc_list_release( vlc_list_t *p_list )
...
@@ -1228,6 +1228,16 @@ void vlc_list_release( vlc_list_t *p_list )
free
(
p_list
);
free
(
p_list
);
}
}
/*****************************************************************************
* dump an object. (Debug function)
*****************************************************************************/
void
__vlc_object_dump
(
vlc_object_t
*
p_this
)
{
vlc_mutex_lock
(
&
structure_lock
);
PrintObject
(
p_this
,
"vlc_object_dump: "
);
vlc_mutex_unlock
(
&
structure_lock
);
}
/* Following functions are local */
/* Following functions are local */
/*****************************************************************************
/*****************************************************************************
...
...
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