[vlc-devel] [PATCH] introduce CLIP() macro to replace use pair of __MAX() and __MIN()

Can Wu wu.canus at gmail.com
Wed Nov 16 02:39:38 CET 2011


So you prefer not to use __MIN and __MAX, but just use the expression what
Rob Jonson had povide? But I think we should reuse something, and it safe
2011/11/16 Rémi Denis-Courmont <remi at remlab.net>

> Le mardi 15 novembre 2011 18:01:54 Rafaël Carré, vous avez écrit :
> > We should use __CLIP like the old macros, or use a prefix like VLC_CLIP
> > (because _ prefixes are illegal according to C standard)
>
> The whole point is to be concise though.
>
> That said, I don't like __MAX and __MIN because they are not expansion
> safe.
> And this is also not expansion-safe :(
>
> --
> Rémi Denis-Courmont
> http://www.remlab.net/
> http://fi.linkedin.com/in/remidenis
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>



-- 
wucan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20111116/dca70161/attachment.html>


More information about the vlc-devel mailing list