[vlc-devel] [vlc-commits] Qt: Ensure event IDs are not reused.

Jean-Baptiste Kempf jb at videolan.org
Sat Aug 18 01:43:07 CEST 2012


On Fri, Aug 17, 2012 at 06:06:24PM +0200, Francois Cartegnie wrote :
> Qt ensures event IDs are never reused by providing a way to register
> them dynamically. We have code that allocate event IDs statically and we
> need to check/register those then to ensure proper offset for dynamic
> ones. (we could just register them too, but this wouldn't allow


You should #ifndef NDEBUG this code.

Best regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list