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
925079c4
Commit
925079c4
authored
Jan 26, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
var_*Bool return a boolean.
parent
6c444230
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
include/vlc_variables.h
include/vlc_variables.h
+3
-3
No files found.
include/vlc_variables.h
View file @
925079c4
...
...
@@ -316,7 +316,7 @@ static inline int __var_GetInteger( vlc_object_t *p_obj, const char *psz_name )
* \param psz_name The name of the variable
*/
LIBVLC_USED
static
inline
int
__var_GetBool
(
vlc_object_t
*
p_obj
,
const
char
*
psz_name
)
static
inline
bool
__var_GetBool
(
vlc_object_t
*
p_obj
,
const
char
*
psz_name
)
{
vlc_value_t
val
;
val
.
b_bool
=
false
;
...
...
@@ -455,7 +455,7 @@ static inline int __var_CreateGetInteger( vlc_object_t *p_obj, const char *psz_n
* \param psz_name The name of the variable
*/
LIBVLC_USED
static
inline
int
__var_CreateGetBool
(
vlc_object_t
*
p_obj
,
const
char
*
psz_name
)
static
inline
bool
__var_CreateGetBool
(
vlc_object_t
*
p_obj
,
const
char
*
psz_name
)
{
__var_Create
(
p_obj
,
psz_name
,
VLC_VAR_BOOL
|
VLC_VAR_DOINHERIT
);
return
__var_GetBool
(
p_obj
,
psz_name
);
...
...
@@ -552,7 +552,7 @@ static inline int __var_CreateGetIntegerCommand( vlc_object_t *p_obj, const char
* \param psz_name The name of the variable
*/
LIBVLC_USED
static
inline
int
__var_CreateGetBoolCommand
(
vlc_object_t
*
p_obj
,
const
char
*
psz_name
)
static
inline
bool
__var_CreateGetBoolCommand
(
vlc_object_t
*
p_obj
,
const
char
*
psz_name
)
{
__var_Create
(
p_obj
,
psz_name
,
VLC_VAR_BOOL
|
VLC_VAR_DOINHERIT
|
VLC_VAR_ISCOMMAND
);
...
...
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