Commit 4ea41ad2 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Cosmetics

parent 428762fb
......@@ -49,12 +49,21 @@ struct callback_entry_t
/*****************************************************************************
* Local comparison functions, returns 0 if v == w, < 0 if v < w, > 0 if v > w
*****************************************************************************/
static int CmpBool( vlc_value_t v, vlc_value_t w ) { return v.b_bool ? w.b_bool ? 0 : 1 : w.b_bool ? -1 : 0; }
static int CmpInt( vlc_value_t v, vlc_value_t w ) { return v.i_int == w.i_int ? 0 : v.i_int > w.i_int ? 1 : -1; }
static int CmpBool( vlc_value_t v, vlc_value_t w )
{
return v.b_bool ? w.b_bool ? 0 : 1 : w.b_bool ? -1 : 0;
}
static int CmpInt( vlc_value_t v, vlc_value_t w )
{
return v.i_int == w.i_int ? 0 : v.i_int > w.i_int ? 1 : -1;
}
static int CmpTime( vlc_value_t v, vlc_value_t w )
{
return v.i_time == w.i_time ? 0 : v.i_time > w.i_time ? 1 : -1;
}
static int CmpString( vlc_value_t v, vlc_value_t w )
{
if( !v.psz_string )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment