mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
server: Make wl_resource_post_no_memory() a wrapper function
Save some code size. Signed-off-by: Demi Marie Obenour <demi@invisiblethingslab.com>
This commit is contained in:
parent
2bd88ca4bf
commit
bd0aa37eb9
1 changed files with 1 additions and 2 deletions
|
|
@ -716,8 +716,7 @@ wl_client_post_implementation_error(struct wl_client *client,
|
|||
WL_EXPORT void
|
||||
wl_resource_post_no_memory(struct wl_resource *resource)
|
||||
{
|
||||
wl_resource_post_error(resource->client->display_resource,
|
||||
WL_DISPLAY_ERROR_NO_MEMORY, "no memory");
|
||||
wl_client_post_no_memory(resource->client);
|
||||
}
|
||||
|
||||
/** Detect if a wl_resource uses the deprecated public definition.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue