diff options
| author | Kristian Høgsberg <krh@bitplanet.net> | 2013-06-27 20:09:18 -0500 |
|---|---|---|
| committer | Kristian Høgsberg <krh@bitplanet.net> | 2013-07-02 15:52:47 -0400 |
| commit | d94a8722cb29d8b897672be66ff3c9ff79eab6fe (patch) | |
| tree | 4314f9c98913c36a12525062680440a336a88092 /src/wayland-private.h | |
| parent | protocol: add no_keymap format to keymap formats (diff) | |
| download | wayland-d94a8722cb29d8b897672be66ff3c9ff79eab6fe.tar wayland-d94a8722cb29d8b897672be66ff3c9ff79eab6fe.tar.gz wayland-d94a8722cb29d8b897672be66ff3c9ff79eab6fe.tar.bz2 wayland-d94a8722cb29d8b897672be66ff3c9ff79eab6fe.tar.lz wayland-d94a8722cb29d8b897672be66ff3c9ff79eab6fe.tar.xz wayland-d94a8722cb29d8b897672be66ff3c9ff79eab6fe.tar.zst wayland-d94a8722cb29d8b897672be66ff3c9ff79eab6fe.zip | |
server: Make wl_object and wl_resource opaque structs
With the work to add wl_resource accessors and port weston to use them,
we're ready to make wl_resource and wl_object opaque structs. We keep
wl_buffer in the header for EGL stacks to use, but don't expose it by
default. In time we'll remove it completely, but for now it provides a
transition paths for code that still uses wl_buffer.
Reviewed-by: Jason Ekstrand<jason@jlekstrand.net>
Diffstat (limited to 'src/wayland-private.h')
| -rw-r--r-- | src/wayland-private.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/wayland-private.h b/src/wayland-private.h index 71066b5..b53cc40 100644 --- a/src/wayland-private.h +++ b/src/wayland-private.h @@ -26,6 +26,9 @@ #define WAYLAND_PRIVATE_H #include <stdarg.h> + +#define WL_HIDE_DEPRECATED 1 + #include "wayland-util.h" #define ARRAY_LENGTH(a) (sizeof (a) / sizeof (a)[0]) @@ -39,6 +42,12 @@ #define WL_SERVER_ID_START 0xff000000 #define WL_CLOSURE_MAX_ARGS 20 +struct wl_object { + const struct wl_interface *interface; + const void *implementation; + uint32_t id; +}; + extern struct wl_object global_zombie_object; #define WL_ZOMBIE_OBJECT ((void*)&global_zombie_object) |
