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

Can Wu wu.canus at gmail.com
Wed Nov 16 15:42:57 CET 2011


2011/11/16 Rémi Denis-Courmont <remi at remlab.net>

> 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
> what
> > Rob Jonson had povide? But I think we should reuse something, and it
> safe
>
> No. I don't like __MIN and __MAX, and thus I don't like anything using
> them either.
>
> I don't like them too, but let's leave them there for now, kill them
later?

> Unfortunately, I don't cannot figure out a way have those macros
> expansion-safe yet polymorphic, while not relying on non-standard C
> extensions.
>
> --
> Rémi Denis-Courmont
> http://www.remlab.net/
> _______________________________________________
> 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/8fdc59c8/attachment.html>


More information about the vlc-devel mailing list