Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
52b715e3
Commit
52b715e3
authored
Aug 18, 2010
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
variables: add some LIBVLC_MALLOC and LIBVLC_USED.
parent
bd2f90bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
include/vlc_variables.h
include/vlc_variables.h
+8
-6
No files found.
include/vlc_variables.h
View file @
52b715e3
...
...
@@ -371,7 +371,7 @@ static inline float var_GetFloat( vlc_object_t *p_obj, const char *psz_name )
* \param p_obj The object that holds the variable
* \param psz_name The name of the variable
*/
LIBVLC_USED
LIBVLC_USED
LIBVLC_MALLOC
static
inline
char
*
var_GetString
(
vlc_object_t
*
p_obj
,
const
char
*
psz_name
)
{
vlc_value_t
val
;
val
.
psz_string
=
NULL
;
...
...
@@ -381,7 +381,7 @@ static inline char *var_GetString( vlc_object_t *p_obj, const char *psz_name )
return
val
.
psz_string
;
}
LIBVLC_USED
LIBVLC_USED
LIBVLC_MALLOC
static
inline
char
*
var_GetNonEmptyString
(
vlc_object_t
*
p_obj
,
const
char
*
psz_name
)
{
vlc_value_t
val
;
...
...
@@ -509,7 +509,7 @@ static inline float var_CreateGetFloat( vlc_object_t *p_obj, const char *psz_nam
* \param p_obj The object that holds the variable
* \param psz_name The name of the variable
*/
LIBVLC_USED
LIBVLC_USED
LIBVLC_MALLOC
static
inline
char
*
var_CreateGetString
(
vlc_object_t
*
p_obj
,
const
char
*
psz_name
)
{
...
...
@@ -517,7 +517,7 @@ static inline char *var_CreateGetString( vlc_object_t *p_obj,
return
var_GetString
(
p_obj
,
psz_name
);
}
LIBVLC_USED
LIBVLC_USED
LIBVLC_MALLOC
static
inline
char
*
var_CreateGetNonEmptyString
(
vlc_object_t
*
p_obj
,
const
char
*
psz_name
)
{
...
...
@@ -609,7 +609,7 @@ static inline float var_CreateGetFloatCommand( vlc_object_t *p_obj, const char *
* \param p_obj The object that holds the variable
* \param psz_name The name of the variable
*/
LIBVLC_USED
LIBVLC_USED
LIBVLC_MALLOC
static
inline
char
*
var_CreateGetStringCommand
(
vlc_object_t
*
p_obj
,
const
char
*
psz_name
)
{
...
...
@@ -618,7 +618,7 @@ static inline char *var_CreateGetStringCommand( vlc_object_t *p_obj,
return
var_GetString
(
p_obj
,
psz_name
);
}
LIBVLC_USED
LIBVLC_USED
LIBVLC_MALLOC
static
inline
char
*
var_CreateGetNonEmptyStringCommand
(
vlc_object_t
*
p_obj
,
const
char
*
psz_name
)
{
...
...
@@ -703,6 +703,7 @@ static inline char *var_InheritString( vlc_object_t *obj, const char *name )
}
#define var_InheritString(o, n) var_InheritString(VLC_OBJECT(o), n)
LIBVLC_USED
static
inline
mtime_t
var_InheritTime
(
vlc_object_t
*
obj
,
const
char
*
name
)
{
vlc_value_t
val
;
...
...
@@ -713,6 +714,7 @@ static inline mtime_t var_InheritTime( vlc_object_t *obj, const char *name )
}
#define var_InheritTime(o, n) var_InheritTime(VLC_OBJECT(o), n)
LIBVLC_USED
static
inline
void
*
var_InheritAddress
(
vlc_object_t
*
obj
,
const
char
*
name
)
{
vlc_value_t
val
;
...
...
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