mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
server: use void* instead of function pointer for wl_object.implementation
This is needed to make C++ programs that include wayland-server.h build: C++ does not allow conversions from data pointers to function pointers.
This commit is contained in:
parent
6ca428edc8
commit
88d873ecb9
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ struct wl_interface {
|
|||
|
||||
struct wl_object {
|
||||
const struct wl_interface *interface;
|
||||
void (* const * implementation)(void);
|
||||
const void *implementation;
|
||||
uint32_t id;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue