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

Rémi Denis-Courmont remi at remlab.net
Wed Nov 16 07:54:37 CET 2011

On Wed, 16 Nov 2011 09:39:38 +0800, Can Wu <wu.canus at gmail.com> wrote:
> So you prefer not to use __MIN and __MAX, but just use the expression
> Rob Jonson had povide? But I think we should reuse something, and it

No. I don't like __MIN and __MAX, and thus I don't like anything using
them either.

Unfortunately, I don't cannot figure out a way have those macros
expansion-safe yet polymorphic, while not relying on non-standard C

Rémi Denis-Courmont

More information about the vlc-devel mailing list