wl_object(3)
π NAME π
wl_object β bestie, it's a protocol object. that's the whole vibe. π¦
β¨ SYNOPSIS β¨
#include <wayland-server.h>
π Data Fields
const struct wl_interface * interfaceconst void * implementationuint32_t id
πΈ Detailed Description πΈ
okay so. a protocol object. that's it, that's the whole thing, no cap.
a wl_object is an opaque struct β meaning you don't get to peek inside, it's giving mysterious main character energy π₯ β and it identifies the protocol object underlying a wl_proxy or a wl_resource. like, it's the little guy underneath the little guy. iykyk. π
Note π«Ά β the functions that access a wl_object are not normally used by client code. periodt. clients should normally use the higher level interface generated by the scanner to interact with compositor objects. so like, stay in your lane, use the generated stuff, and you'll be fine bestie. no need to go digging under the hood unless you're literally built different. π
π Field Documentation π
β uint32_t wl_object::id
the id. that's the field. iconic of it honestly. π
β const void* wl_object::implementation
the implementation pointer, typed as const void* because we love a mystery. π
β const struct wl_interface* wl_object::interface
the interface pointer. yes, it's a const struct wl_interface*. we keep it exact here, bestie, precision is the whole point. β¨
π Author π
Generated automatically by Doxygen for Wayland from the source code. not a human, just a robot doing its little robot slay. π€π
okay that's the whole page, love u, bye!! this came from Wayland, Version 1.26.0, and it lives in manual section 3 (Library Functions Manual) β so next time you type man 3 wl_object, that's me. π¦β¨π
π¦ where this page comes from
- arch rolling: wayland-docs 1.26.0-1 Β· MIT
- fedora 43: wayland-devel 1.26.0-1.fc43 Β· MIT
- fedora 43: wayland-devel 1.26.0-1.fc43 Β· MIT
- fedora 44: wayland-devel 1.26.0-1.fc44 Β· MIT
- fedora 44: wayland-devel 1.26.0-1.fc44 Β· MIT
- nixpkgs unstable: wayland 1.26.0
- ubuntu stonking: libwayland-doc 1.26.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms