[vlc-devel] [PATCH] introduce CLIP() macro to replace use pair of __MAX() and __MIN()
Rémi Denis-Courmont
remi at remlab.net
Tue Nov 15 17:11:14 CET 2011
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
More information about the vlc-devel
mailing list