diff options
| author | Yong Bakos <ybakos@humanoriented.com> | 2016-11-22 08:13:43 -0800 |
|---|---|---|
| committer | Daniel Stone <daniels@collabora.com> | 2016-11-23 10:11:49 +0000 |
| commit | 20742b74490bd80ef62b888157df37af92a21e99 (patch) | |
| tree | 926e2c3215611be8148169c9112ddc7587af1bd8 /tests/data/example-code.c | |
| parent | tests: add scanner tests (diff) | |
| download | wayland-20742b74490bd80ef62b888157df37af92a21e99.tar wayland-20742b74490bd80ef62b888157df37af92a21e99.tar.gz wayland-20742b74490bd80ef62b888157df37af92a21e99.tar.bz2 wayland-20742b74490bd80ef62b888157df37af92a21e99.tar.lz wayland-20742b74490bd80ef62b888157df37af92a21e99.tar.xz wayland-20742b74490bd80ef62b888157df37af92a21e99.tar.zst wayland-20742b74490bd80ef62b888157df37af92a21e99.zip | |
doc: Remove display of WL_PRINTF attribute
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.
[1] https://bugzilla.gnome.org/show_bug.cgi?id=774741
Signed-off-by: Yong Bakos <ybakos@humanoriented.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'tests/data/example-code.c')
0 files changed, 0 insertions, 0 deletions
