Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
454
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
c21a111a
Commit
c21a111a
authored
15 years ago
by
Rémi Denis-Courmont
Browse files
Options
Downloads
Patches
Plain Diff
vlc_objects.h: add LIBVLC_MALLOC and LIBVLC_USED
parent
11453720
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/vlc_objects.h
+5
-4
5 additions, 4 deletions
include/vlc_objects.h
with
5 additions
and
4 deletions
include/vlc_objects.h
+
5
−
4
View file @
c21a111a
...
...
@@ -67,21 +67,21 @@ struct vlc_object_t
/*****************************************************************************
* Prototypes
*****************************************************************************/
VLC_EXPORT
(
void
*
,
__vlc_object_create
,
(
vlc_object_t
*
,
int
)
);
VLC_EXPORT
(
void
*
,
__vlc_object_create
,
(
vlc_object_t
*
,
int
)
)
LIBVLC_MALLOC
LIBVLC_USED
;
VLC_EXPORT
(
void
,
__vlc_object_set_destructor
,
(
vlc_object_t
*
,
vlc_destructor_t
)
);
VLC_EXPORT
(
void
,
__vlc_object_attach
,
(
vlc_object_t
*
,
vlc_object_t
*
)
);
VLC_EXPORT
(
void
,
__vlc_object_detach
,
(
vlc_object_t
*
)
);
#if defined (__GNUC__) && !defined __cplusplus
__attribute__
((
deprecated
))
#endif
VLC_EXPORT
(
void
*
,
__vlc_object_find
,
(
vlc_object_t
*
,
int
,
int
)
);
VLC_EXPORT
(
void
*
,
__vlc_object_find
,
(
vlc_object_t
*
,
int
,
int
)
)
LIBVLC_USED
;
#if defined (__GNUC__) && !defined __cplusplus
__attribute__
((
deprecated
))
#endif
VLC_EXPORT
(
vlc_object_t
*
,
vlc_object_find_name
,
(
vlc_object_t
*
,
const
char
*
,
int
)
);
VLC_EXPORT
(
vlc_object_t
*
,
vlc_object_find_name
,
(
vlc_object_t
*
,
const
char
*
,
int
)
)
LIBVLC_USED
;
VLC_EXPORT
(
void
*
,
__vlc_object_hold
,
(
vlc_object_t
*
)
);
VLC_EXPORT
(
void
,
__vlc_object_release
,
(
vlc_object_t
*
)
);
VLC_EXPORT
(
vlc_list_t
*
,
__vlc_list_children
,
(
vlc_object_t
*
)
);
VLC_EXPORT
(
vlc_list_t
*
,
__vlc_list_children
,
(
vlc_object_t
*
)
)
LIBVLC_USED
;
VLC_EXPORT
(
void
,
vlc_list_release
,
(
vlc_list_t
*
)
);
VLC_EXPORT
(
char
*
,
vlc_object_get_name
,
(
const
vlc_object_t
*
)
)
LIBVLC_USED
;
#define vlc_object_get_name(o) vlc_object_get_name(VLC_OBJECT(o))
...
...
@@ -120,6 +120,7 @@ VLC_EXPORT( void, __vlc_object_kill, ( vlc_object_t * ) );
#define vlc_object_kill(a) \
__vlc_object_kill( VLC_OBJECT(a) )
LIBVLC_USED
static
inline
bool
vlc_object_alive
(
const
vlc_object_t
*
obj
)
{
barrier
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment