mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-03-31 07:11:27 -04:00
wayland-util.h: add forward declaration for wl_object
The definition of wl_argument in wayland-util.h references wl_object, so wl_object ought to be defined in wayland-util.h. This resolves gitlab issue #78. Fixes: https://gitlab.freedesktop.org/wayland/wayland/issues/78 Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
parent
75bd70c0b3
commit
15cba8b074
1 changed files with 14 additions and 0 deletions
|
|
@ -68,6 +68,20 @@ extern "C" {
|
||||||
#define WL_PRINTF(x, y)
|
#define WL_PRINTF(x, y)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/** \class wl_object
|
||||||
|
*
|
||||||
|
* \brief A protocol object.
|
||||||
|
*
|
||||||
|
* A `wl_object` is an opaque struct identifying the protocol object
|
||||||
|
* underlying a `wl_proxy` or `wl_resource`.
|
||||||
|
*
|
||||||
|
* \note Functions accessing a `wl_object` are not normally used by client code.
|
||||||
|
* Clients should normally use the higher level interface generated by the
|
||||||
|
* scanner to interact with compositor objects.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
struct wl_object;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Protocol message signature
|
* Protocol message signature
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue