diff options
Diffstat (limited to 'src/wayland-server.c')
| -rw-r--r-- | src/wayland-server.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/wayland-server.c b/src/wayland-server.c index 893bb56..4360874 100644 --- a/src/wayland-server.c +++ b/src/wayland-server.c @@ -1113,6 +1113,18 @@ wl_global_destroy(struct wl_global *global) free(global); } +WL_EXPORT const struct wl_interface * +wl_global_get_interface(const struct wl_global *global) +{ + return global->interface; +} + +WL_EXPORT void * +wl_global_get_user_data(const struct wl_global *global) +{ + return global->data; +} + /** Get the current serial number * * \param display The display object |
