[vlc-devel] Re: vlc: svn commit r17129 (damienf)

Rémi Denis-Courmont rem at videolan.org
Tue Oct 17 22:03:23 CEST 2006


Le mardi 17 octobre 2006 22:44, Subversion daemon a écrit :
> - libvlc.h: use C99 designated initializers to partially initialize
> help module config (this disable a bunch of warnings, and
> non-initialized members are automatically set to nil)

AFAIK, they also are set to nil with old-style initializer, but the C99 
syntax is definitely much more readable (and hence less error-prone) 
and easier to maintain if one ever adds a new field to the struct.

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

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list