[vlc-devel] [PATCH 16/20] Add some compile time assertions for the module list parameters

Rémi Denis-Courmont rem at videolan.org
Wed Apr 8 13:23:47 CEST 2009


Le mercredi 8 avril 2009, basos g a écrit :
> 2009/4/6 Rémi Denis-Courmont <rem at videolan.org>
>
> > Le lundi 6 avril 2009 15:36:08 basos g, vous avez écrit :
> > > When a list parameter on the affected macros is NULL VLC might
> > > crash silently producing possible gray hair.
> > > This is a compile time check to assert correct ussage of the
> > > macros
> >
> > I really don't like to add extern variables.
>
> this patch is tested and works

I don't want to clutter the run-time with unneeded external variables.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list