diff options
| author | Pekka Paalanen <ppaalanen@gmail.com> | 2013-02-26 15:19:44 +0200 |
|---|---|---|
| committer | Kristian Høgsberg <krh@bitplanet.net> | 2013-02-26 11:28:21 -0500 |
| commit | a51ed6d50f220488108a4c48fec4858f9fd91cdc (patch) | |
| tree | dc683dfea3eb210924c0e98de24c9e48332a96c3 /src/wayland-client.h | |
| parent | scanner: Fix 'destroy)' typo in check for destroy request presence (diff) | |
| download | wayland-a51ed6d50f220488108a4c48fec4858f9fd91cdc.tar wayland-a51ed6d50f220488108a4c48fec4858f9fd91cdc.tar.gz wayland-a51ed6d50f220488108a4c48fec4858f9fd91cdc.tar.bz2 wayland-a51ed6d50f220488108a4c48fec4858f9fd91cdc.tar.lz wayland-a51ed6d50f220488108a4c48fec4858f9fd91cdc.tar.xz wayland-a51ed6d50f220488108a4c48fec4858f9fd91cdc.tar.zst wayland-a51ed6d50f220488108a4c48fec4858f9fd91cdc.zip | |
client: add wl_proxy_get_class()
This is a useful shorthand for client application debugging macros,
since you can ask the object class from the object itself.
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
Diffstat (limited to 'src/wayland-client.h')
| -rw-r--r-- | src/wayland-client.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wayland-client.h b/src/wayland-client.h index 8b1fd0d..578fa7e 100644 --- a/src/wayland-client.h +++ b/src/wayland-client.h @@ -131,6 +131,7 @@ int wl_proxy_add_listener(struct wl_proxy *proxy, void wl_proxy_set_user_data(struct wl_proxy *proxy, void *user_data); void *wl_proxy_get_user_data(struct wl_proxy *proxy); uint32_t wl_proxy_get_id(struct wl_proxy *proxy); +const char *wl_proxy_get_class(struct wl_proxy *proxy); void wl_proxy_set_queue(struct wl_proxy *proxy, struct wl_event_queue *queue); #include "wayland-client-protocol.h" |
