[PATCH wayland 4/4] doc: Add doxygen documentation to wl_display_get_error()

Ander Conselvan de Oliveira ander.conselvan.de.oliveira at intel.com
Tue Oct 16 07:29:09 PDT 2012


---
 src/wayland-client.c |    7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/wayland-client.c b/src/wayland-client.c
index 2eaecc9..9ac4edb 100644
--- a/src/wayland-client.c
+++ b/src/wayland-client.c
@@ -860,6 +860,13 @@ wl_display_dispatch_pending(struct wl_display *display)
 	return dispatch_queue(display, &display->queue, 0);
 }
 
+/** Retrieve the last error sent by the server
+ *
+ * \param display The display context object
+ * \return The last error sent asynchronously by \c display
+ *
+ * \memberof wl_display
+ */
 WL_EXPORT int
 wl_display_get_error(struct wl_display *display)
 {
-- 
1.7.9.5



More information about the wayland-devel mailing list