[FFmpeg-devel] [PATCH] Add support for __attribute__((visibility()))

Gwenole Beauchesne gbeauchesne
Wed Feb 18 09:45:57 CET 2009


This patch adds support for __attribute__((visibility)). This is not 
something you can check from a compiler POV only as it requires proper 
tools support.

Only attribute_hidden will be generally useful. attribute_internal has the 
other benefit to tell the compiler you guarantee the symbol will never be 
used indirectly (e.g. function pointer).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg.attribute.hidden.patch
Type: text/x-diff
Size: 1801 bytes
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090218/861d3edc/attachment.patch>

More information about the ffmpeg-devel mailing list