[PATCH wayland 2/2] tests: Add test for wl_list_length

2016-08-25 Thread Yong Bakos
From: Yong Bakos list-test.c did not cover wl_list_length, so add one test that specifically tests this method. Signed-off-by: Yong Bakos --- tests/list-test.c | 13 + 1 file changed, 13 insertions(+) diff --git a/tests/list-test.c b/tests/list-test.c index 21ca4ec..0752618 100644

[PATCH wayland 1/2] util: Document wl_list methods

2016-08-25 Thread Yong Bakos
From: Yong Bakos Add doxygen comment blocks to all wl_list methods. Signed-off-by: Yong Bakos --- src/wayland-util.h | 41 + 1 file changed, 41 insertions(+) diff --git a/src/wayland-util.h b/src/wayland-util.h index cacc122..1044324 100644 --- a/src/wa