Skip to content

giscanner: Support function macros with zero arguments and ISO varargs

This fixes support for macros like G_BREAKPOINT(), G_DEBUG_HERE() and g_message() in GLib.

Signed-off-by: Philip Withnall pwithnall@endlessos.org


Note that it doesn’t add support for GNUC varargs (g_message(format...)) as they have been superseded by ISO varargs.

For some reason I can’t get the <varargs/> element to appear inside <parameter name="..."> in the generated GIR file, but at least the documentation is now exposed.

Triggered by glib#2617 (closed).

Merge request reports