server: add wl_resource_post_error() docs

Signed-off-by: Kirill Primak <vyivel@eclair.cafe>
This commit is contained in:
Kirill Primak 2024-05-23 19:25:05 +03:00 committed by Simon Ser
parent a6a4e081da
commit 64248963d3
2 changed files with 9 additions and 1 deletions

View file

@ -313,6 +313,15 @@ wl_resource_post_error_vargs(struct wl_resource *resource,
}
/** Post a protocol error
*
* \param resource The resource object
* \param code The error code
* \param msg The error message format string
* \param ... The format string arguments
*
* \memberof wl_resource
*/
WL_EXPORT void
wl_resource_post_error(struct wl_resource *resource,
uint32_t code, const char *msg, ...)