[vlc-devel] [PATCH] Tests for media list

Pierre d'Herbemont pdherbemont at free.fr
Fri Mar 28 21:59:10 CET 2008


On Mar 28, 2008, at 8:54 PM, Lukas Durfina wrote:
> +/* test if we have exception */
> +#define HAVE_EXCEPTION   assert (libvlc_exception_raised (&ex)); \
> +                         libvlc_exception_clear (&ex);
> +
> +

Please avoid macro where possible. A static function should be  
perfectly fine here.

Pierre.





More information about the vlc-devel mailing list