server: expose wl_resource_post_error_vargs()

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

View file

@ -550,6 +550,10 @@ void
wl_resource_queue_event_array(struct wl_resource *resource,
uint32_t opcode, union wl_argument *args);
void
wl_resource_post_error_vargs(struct wl_resource *resource,
uint32_t code, const char *msg, va_list argp);
void
wl_resource_post_error(struct wl_resource *resource,
uint32_t code, const char *msg, ...) WL_PRINTF(3, 4);