mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-04 13:29:51 -05:00
server: Add wl_resource_get_id()
This commit is contained in:
parent
57f74af278
commit
bca4124045
2 changed files with 8 additions and 0 deletions
|
|
@ -440,6 +440,12 @@ wl_resource_destroy(struct wl_resource *resource)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
WL_EXPORT uint32_t
|
||||||
|
wl_resource_get_id(struct wl_resource *resource)
|
||||||
|
{
|
||||||
|
return resource->object.id;
|
||||||
|
}
|
||||||
|
|
||||||
WL_EXPORT struct wl_list *
|
WL_EXPORT struct wl_list *
|
||||||
wl_resource_get_link(struct wl_resource *resource)
|
wl_resource_get_link(struct wl_resource *resource)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -256,6 +256,8 @@ wl_client_get_display(struct wl_client *client);
|
||||||
|
|
||||||
void
|
void
|
||||||
wl_resource_destroy(struct wl_resource *resource);
|
wl_resource_destroy(struct wl_resource *resource);
|
||||||
|
uint32_t
|
||||||
|
wl_resource_get_id(struct wl_resource *resource);
|
||||||
struct wl_list *
|
struct wl_list *
|
||||||
wl_resource_get_link(struct wl_resource *resource);
|
wl_resource_get_link(struct wl_resource *resource);
|
||||||
struct wl_client *
|
struct wl_client *
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue