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.