wl_argument(3)

πŸŽ€ NAME πŸŽ€

wl_argument β€” bestie, it's the union that holds literally every single kind of protocol message argument πŸ’–


✨ SYNOPSIS ✨

#include <wayland-util.h>

🫢 Data Fields

  • int32_t i
  • uint32_t u
  • wl_fixed_t f
  • const char * s
  • struct wl_object * o
  • uint32_t n
  • struct wl_array * a
  • int32_t h

πŸ’… DETAILED DESCRIPTION πŸ’…

Protocol message argument data types β€” that's the whole vibe, but let me spill the tea β˜•

This union is the main character of argument types in the Wayland protocol wire format. Like, every single argument type the wire format knows about? It lives here. No cap. πŸ’€

The protocol implementation uses wl_argument inside its marshalling machinery for dispatching messages between a client and a compositor. So when messages are getting shipped back and forth, this lil union is the thing carrying the payload. It's giving backstage-pass energy fr fr 🌸

🌈 See also

  • wl_message
  • wl_interface
  • Wire Format

πŸ¦‹ FIELD DOCUMENTATION πŸ¦‹

struct wl_array* wl_argument::a

array πŸ“

wl_fixed_t wl_argument::f

fixed ✨

int32_t wl_argument::h

fd πŸ’œ

int32_t wl_argument::i

int πŸ‘‘

uint32_t wl_argument::n

new_id πŸ”₯

struct wl_object* wl_argument::o

object 🌈

const char* wl_argument::s

string πŸŽ€

uint32_t wl_argument::u

uint ⭐


🌸 AUTHOR 🌸

Generated automatically by Doxygen for Wayland from the source code. Not a human bestie, just a robot doing its little thing, and honestly? It ate. πŸ€–πŸ’…


okay that's the whole page, you're officially fluent in wl_argument now, so proud of you πŸ₯ΉπŸ«Ά go forth and marshal those messages, bestie!!

This was Wayland, Version 1.26.0, wl_argument(3) β€” mwah, talk later πŸ’–βœ¨