GNOME Bugzilla – Bug 773399
Trailing macro with arguments are truncated
Last modified: 2016-12-25 09:33:44 UTC
Created attachment 338315 [details] Screenshot of generated doc showing truncation When a macro with arguments is used as part of a trailing attribute of a function, typedef and other elements, Doxygen seems to be truncating the argument list. Given the source: #define LIBINPUT_ATTRIBUTE_PRINTF(_format, _args) \ __attribute__ ((format (printf, _format, _args))) // ... typedef void (*libinput_log_handler)(struct libinput *libinput, enum libinput_log_priority priority, const char *format, va_list args) LIBINPUT_ATTRIBUTE_PRINTF(3, 0); The html doc for the typedef shows everything up to the comma in the used macro, like: LIBINPUT_ATTRIBUTE_PRINTF(3 (image attached)
Hi Yong, This is a know issue with a documented workaround, see http://www.doxygen.org/manual/preprocessing.html