[vlc-devel] commit: var_*Bool return a boolean. ( Rémi Duraffort )
git version control
git at videolan.org
Mon Jan 26 23:43:15 CET 2009
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Mon Jan 26 23:06:16 2009 +0100| [925079c425e201a94560e4a0e41615f7402d86df] | committer: Rémi Duraffort
var_*Bool return a boolean.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=925079c425e201a94560e4a0e41615f7402d86df
---
include/vlc_variables.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/vlc_variables.h b/include/vlc_variables.h
index 0641d08..082660f 100644
--- a/include/vlc_variables.h
+++ b/include/vlc_variables.h
@@ -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 );
More information about the vlc-devel
mailing list