On Monday, 29 April 2013 at 11:50:21 UTC, Timon Gehr wrote: > In case you want to preserve the attribute: > > struct av_printf_format{ int fmtpos, attrpos; } > > @av_printf_format(2, 3) void av_log_ask_for_sample(void* avc, > const(char)* msg, ...); Thanks. What does @av_printf_format(2, 3) do to the function?