[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:34:54 CET 2011


thank you for review! patch updated, just change CLIP() to VLC_CLIP()

On Wed, Nov 16, 2011 at 12:01 AM, Rafaël Carré <funman at videolan.org> wrote:

> Le Tue, 15 Nov 2011 15:15:44 +0800,
> Can Wu <wu.canus at gmail.com> a écrit :
>
> Hi,
>
> This patch looks nice, thanks
>
> However I fear the name 'CLIP' might clash with some header of some
> library.
>
> We should use __CLIP like the old macros, or use a prefix like VLC_CLIP
> (because _ prefixes are illegal according to C standard)
>
> --
> Rafaël Carré
> _______________________________________________
> 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/6aa00216/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-introduce-VLC_CLIP-macro-to-replace-use-pair-of-__MA.patch
Type: text/x-patch
Size: 30093 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20111116/6aa00216/attachment.bin>


More information about the vlc-devel mailing list