[PATCH wayland] server: Add doxygen comment for wl_client_for_each

Bryce Harrington bryce at osg.samsung.com
Thu Aug 11 20:07:51 UTC 2016


On Thu, Aug 11, 2016 at 12:13:37PM -0700, Yong Bakos wrote:
> 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>

Reviewed-by: Bryce Harrington <bryce at osg.samsung.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
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list