[PATCH wayland] server: Add doxygen comment for wl_client_for_each
Yong Bakos
junk at humanoriented.com
Thu Aug 11 19:13:37 UTC 2016
From: Yong Bakos <ybakos at humanoriented.com>
Commit 596024f728b0a1292ee69a80dd72a85167870936 includes a doc comment
with a link to the wl_client_for_each macro, causing an error when generating
documentation.
Add a doc comment to wl_client_for_each, enabling the hyperlink and removing
the error.
Signed-off-by: Yong Bakos <ybakos at humanoriented.com>
---
src/wayland-server-core.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/wayland-server-core.h b/src/wayland-server-core.h
index 69c09dc..5b5112f 100644
--- a/src/wayland-server-core.h
+++ b/src/wayland-server-core.h
@@ -180,6 +180,7 @@ wl_client_get_link(struct wl_client *client);
struct wl_client *
wl_client_from_link(struct wl_list *link);
+/** Iterate over a list of clients. */
#define wl_client_for_each(client, list) \
for (client = wl_client_from_link((list)->next); \
wl_client_get_link(client) != (list); \
--
2.7.2
More information about the wayland-devel
mailing list