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

vlc_object_alive: cosmetics

parent 35282072
...@@ -139,11 +139,10 @@ VLC_EXPORT( void, __vlc_object_kill, ( vlc_object_t * ) ); ...@@ -139,11 +139,10 @@ VLC_EXPORT( void, __vlc_object_kill, ( vlc_object_t * ) );
#define vlc_object_kill(a) \ #define vlc_object_kill(a) \
__vlc_object_kill( VLC_OBJECT(a) ) __vlc_object_kill( VLC_OBJECT(a) )
static inline bool __vlc_object_alive (const vlc_object_t *obj) static inline bool vlc_object_alive (const vlc_object_t *obj)
{ {
barrier (); barrier ();
return !obj->b_die; return !obj->b_die;
} }
#define vlc_object_alive(a) \ #define vlc_object_alive(a) vlc_object_alive( VLC_OBJECT(a) )
__vlc_object_alive( VLC_OBJECT(a) )
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