[PATCH] doc: Removed extra indentation from wl_list code sample

Bill Spitzak spitzak at gmail.com
Wed Nov 26 10:44:40 PST 2014


On 11/26/2014 03:37 AM, Pekka Paalanen wrote:

> I see the asterisks at
> $WLD/share/doc/wayland/Wayland/en-US/html/ch05.html#structwl__list
> after 'make install'. Looks like the C comment asterisks we use for
> style reasons get copied to the output. They appeared when you replaced
> ~~~ with \code.
>
> My Doxygen is version 1.8.5.

Works for me but the version is different. Can you try the following patch?


-------------- next part --------------
diff --git a/src/wayland-util.h b/src/wayland-util.h
index a4b22b5..7146e96 100644
--- a/src/wayland-util.h
+++ b/src/wayland-util.h
@@ -88,6 +88,7 @@ struct wl_interface {
  * "item_t", and the item member as "struct wl_list link".
  *
  * The following code will initialize a list:
+ *
  * \code
  * struct wl_list foo_list;
  *
@@ -106,6 +107,7 @@ struct wl_interface {
  * The list now looks like [item2, item3, item1]
  *
  * Iterate the list in ascending order:
+ *
  * \code
  * item_t *item;
  * wl_list_for_each(item, foo_list, link) {


More information about the wayland-devel mailing list