gmacros: Clarify G_GNUC_[PRINTF|SCANF] macro documentation
commitd8acf9b956e23143f6463d7a632699d4a7761f4e
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Wed, 9 Nov 2016 15:11:53 +0000 (9 15:11 +0000)
committerPhilip Withnall <philip.withnall@collabora.co.uk>
Wed, 9 Nov 2016 15:11:53 +0000 (9 15:11 +0000)
treebf67914c2c10c87fc00d3a54fec9fb78ca2b187d
parent1f36189aa5e0bc0bbecf8e34f5e625ee88b06882
gmacros: Clarify G_GNUC_[PRINTF|SCANF] macro documentation

Clarify that the arguments parameter can be zero if the function being
annotated just accepts a string format argument, and no varargs for it
(for example, if it takes a va_list of arguments instead).

Add some links to the GCC documentation for the `format` attribute.
glib/docs.c