[FFmpeg-devel] [PATCH] Make DECLARE_ALIGNED macros take array specifiers as separate argument

Reimar Döffinger Reimar.Doeffinger
Sun Oct 18 17:34:25 CEST 2009


On Sun, Oct 18, 2009 at 04:19:55PM +0100, Mans Rullgard wrote:
> The macro implementation might need the name of the variable being
> declared for compiler-specific syntax.  Adding an optional fourth
> argument allows us to pass the name and, if present, array specifiers
> as separate arguments.

Could you be more specific on the syntax? If possible moving the
array specifiers just outside the DECLARE_ALIGNED would look nicer IMO.
Also it seems like a good time to add documentation where static, const
etc. should go, inside or before DECLARE_ALIGNED.



More information about the ffmpeg-devel mailing list