diff --git a/src/wayland-util.h b/src/wayland-util.h index b6cbe0ea..2115f5c7 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 *