diff options
| author | Chris Billington <chrisjbillington@gmail.com> | 2019-03-06 15:54:31 -0500 |
|---|---|---|
| committer | Pekka Paalanen <pekka.paalanen@collabora.com> | 2019-03-07 11:33:26 +0200 |
| commit | 15cba8b07499feb43ee56510b3761d8ddabda45a (patch) | |
| tree | b2e315dd0eef681692806b21941892c63f54ebbc /src | |
| parent | configure.ac: bump to version 1.16.92 for the beta release (diff) | |
| download | wayland-15cba8b07499feb43ee56510b3761d8ddabda45a.tar wayland-15cba8b07499feb43ee56510b3761d8ddabda45a.tar.gz wayland-15cba8b07499feb43ee56510b3761d8ddabda45a.tar.bz2 wayland-15cba8b07499feb43ee56510b3761d8ddabda45a.tar.lz wayland-15cba8b07499feb43ee56510b3761d8ddabda45a.tar.xz wayland-15cba8b07499feb43ee56510b3761d8ddabda45a.tar.zst wayland-15cba8b07499feb43ee56510b3761d8ddabda45a.zip | |
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>
Diffstat (limited to 'src')
| -rw-r--r-- | src/wayland-util.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/wayland-util.h b/src/wayland-util.h index b6cbe0e..2115f5c 100644 --- a/src/wayland-util.h +++ b/src/wayland-util.h @@ -68,6 +68,20 @@ extern "C" { #define WL_PRINTF(x, y) #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 * |
