doc: Add doxygen documentation to wl_display_get_error()

This commit is contained in:
Ander Conselvan de Oliveira 2012-10-16 17:29:09 +03:00 committed by Kristian Høgsberg
parent 244fe474dd
commit de3d0ecd44

View file

@ -860,6 +860,13 @@ wl_display_dispatch_pending(struct wl_display *display)
return dispatch_queue(display, &display->queue, 0); 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_EXPORT int
wl_display_get_error(struct wl_display *display) wl_display_get_error(struct wl_display *display)
{ {