[PATCH wayland] doc: Remove display of WL_PRINTF attribute

Daniel Stone daniel at fooishbar.org
Wed Nov 23 10:12:24 UTC 2016


Hi Peter, Yong,

On 23 November 2016 at 00:39, Peter Hutterer <peter.hutterer at who-t.net> wrote:
> On Tue, Nov 22, 2016 at 08:13:43AM -0800, Yong Bakos wrote:
>> Doxygen truncates a WL_PRINTF function attribute, and there does not
>> seem to be any workaround[1]. When using the attribute like this:
>>
>> typedef void (*wl_log_func_t)(const char *, va_list) WL_PRINTF(1, 0);
>>
>> Doxygen generates something that looks like this:
>>
>> typedef void (*wl_log_func_t)(const char *, va_list) WL_PRINTF(1,
>>
>> Configure doxygen to consider WL_PRINTF(x,y) as predefined, so it does
>> not display the attribute at all in the generated documentation.
>
> Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>

Pushed, thanks both:
To ssh://git.freedesktop.org/git/wayland/wayland
   c9f6454..20742b7  master -> master

Cheers,
Daniel


More information about the wayland-devel mailing list