[vlc-devel] commit: Assert variable type in var_Set/GetXYZ.	(Laurent Aimar )
    Rémi Denis-Courmont 
    rem at videolan.org
       
    Sat Sep 20 12:46:19 CEST 2008
    
    
  
Le jeudi 18 septembre 2008 00:26:04 git version control, vous avez écrit :
> vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Wed Sep 17
> 21:35:47 2008 +0200| [81c4815f512c93bd8cf7d9b9468940b689c29940] |
> committer: Laurent Aimar
>
> Assert variable type in var_Set/GetXYZ.
>
> It will allow detecting stupid typos.
NDEBUG is defined in config.h, and not visible in the public include files.
Hence, assert() should really not be used in the public headers. That is why 
we do not include <assert.h> in there.
-- 
Rémi Denis-Courmont
http://git.remlab.net/cgi-bin/gitweb.cgi?p=vlc-courmisch.git;a=summary
    
    
More information about the vlc-devel
mailing list