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
cd95603d
Commit
cd95603d
authored
Feb 15, 2011
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use a macro for the deprecated attribute.
parent
12732fe1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
20 deletions
+11
-20
include/vlc_common.h
include/vlc_common.h
+6
-0
include/vlc_objects.h
include/vlc_objects.h
+2
-8
include/vlc_threads.h
include/vlc_threads.h
+3
-12
No files found.
include/vlc_common.h
View file @
cd95603d
...
...
@@ -102,6 +102,12 @@
# define unlikely(p) (!!(p))
#endif
#if defined(__GNUC__) && !defined __cplusplus
# define LIBVLC_DEPRECATED __attribute__((deprecated))
#else
# define LIBVLC_DEPRECATED
#endif
/*****************************************************************************
* Basic types definitions
*****************************************************************************/
...
...
include/vlc_objects.h
View file @
cd95603d
...
...
@@ -64,14 +64,8 @@ struct vlc_object_t
*****************************************************************************/
VLC_EXPORT
(
void
*
,
vlc_object_create
,
(
vlc_object_t
*
,
size_t
)
)
LIBVLC_MALLOC
LIBVLC_USED
;
VLC_EXPORT
(
void
,
vlc_object_attach
,
(
vlc_object_t
*
,
vlc_object_t
*
)
);
#if defined (__GNUC__) && !defined __cplusplus
__attribute__
((
deprecated
))
#endif
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
)
)
LIBVLC_USED
;
VLC_EXPORT
(
void
*
,
vlc_object_find
,
(
vlc_object_t
*
,
int
,
int
)
)
LIBVLC_USED
LIBVLC_DEPRECATED
;
VLC_EXPORT
(
vlc_object_t
*
,
vlc_object_find_name
,
(
vlc_object_t
*
,
const
char
*
,
int
)
)
LIBVLC_USED
LIBVLC_DEPRECATED
;
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
*
)
)
LIBVLC_USED
;
...
...
include/vlc_threads.h
View file @
cd95603d
...
...
@@ -194,18 +194,9 @@ VLC_EXPORT( int, vlc_threadvar_create, (vlc_threadvar_t * , void (*) (void *) )
VLC_EXPORT
(
void
,
vlc_threadvar_delete
,
(
vlc_threadvar_t
*
)
);
VLC_EXPORT
(
int
,
vlc_threadvar_set
,
(
vlc_threadvar_t
,
void
*
)
);
VLC_EXPORT
(
void
*
,
vlc_threadvar_get
,
(
vlc_threadvar_t
)
);
#if defined (__GNUC__) && !defined __cplusplus
__attribute__
((
deprecated
))
#endif
VLC_EXPORT
(
int
,
vlc_thread_create
,
(
vlc_object_t
*
,
void
*
(
*
)
(
vlc_object_t
*
),
int
)
LIBVLC_USED
);
#if defined (__GNUC__) && !defined __cplusplus
__attribute__
((
deprecated
))
#endif
VLC_EXPORT
(
int
,
vlc_thread_set_priority
,
(
vlc_object_t
*
,
int
)
);
#if defined (__GNUC__) && !defined __cplusplus
__attribute__
((
deprecated
))
#endif
VLC_EXPORT
(
void
,
vlc_thread_join
,
(
vlc_object_t
*
)
);
VLC_EXPORT
(
int
,
vlc_thread_create
,
(
vlc_object_t
*
,
void
*
(
*
)
(
vlc_object_t
*
),
int
)
LIBVLC_USED
LIBVLC_DEPRECATED
);
VLC_EXPORT
(
int
,
vlc_thread_set_priority
,
(
vlc_object_t
*
,
int
)
LIBVLC_DEPRECATED
);
VLC_EXPORT
(
void
,
vlc_thread_join
,
(
vlc_object_t
*
)
LIBVLC_DEPRECATED
);
VLC_EXPORT
(
int
,
vlc_clone
,
(
vlc_thread_t
*
,
void
*
(
*
)
(
void
*
),
void
*
,
int
)
LIBVLC_USED
);
VLC_EXPORT
(
void
,
vlc_cancel
,
(
vlc_thread_t
)
);
...
...
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