---
name: "wl_object"
section: "3"
platform: "linux"
package: "wayland-docs"
version: "1.26.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/wl_object"
---

# wl\_object(3)

A protocol object.

## NAME

wl\_object - A protocol object.

## SYNOPSIS

\#include \<wayland-server.h\>

### Data Fields

const struct **wl\_interface** \* **interface**\
 const void \* **implementation**\
 uint32\_t **id**\

## Detailed Description

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.**

## Field Documentation

### uint32\_t wl\_object::id

### const void\* wl\_object::implementation

### const struct wl\_interface\* wl\_object::interface

## Author

**Generated automatically by Doxygen for Wayland from the source code.**
