Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wayland
wayland
Commits
468c9bd9
Commit
468c9bd9
authored
Sep 04, 2011
by
Kristian Høgsberg
Browse files
Add back get/set user data wrappers for wl_display
parent
25fddf65
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/wayland-client.h
View file @
468c9bd9
...
...
@@ -47,6 +47,18 @@ void *wl_proxy_get_user_data(struct wl_proxy *proxy);
void
*
wl_display_bind
(
struct
wl_display
*
display
,
uint32_t
name
,
const
struct
wl_interface
*
interface
);
static
inline
void
wl_display_set_user_data
(
struct
wl_display
*
display
,
void
*
user_data
)
{
wl_proxy_set_user_data
((
struct
wl_proxy
*
)
display
,
user_data
);
}
static
inline
void
*
wl_display_get_user_data
(
struct
wl_display
*
display
)
{
return
wl_proxy_get_user_data
((
struct
wl_proxy
*
)
display
);
}
struct
wl_callback
*
wl_display_sync
(
struct
wl_display
*
display
);
#include "wayland-client-protocol.h"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment