mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-05-26 21:37:59 -04:00
The "restrict" keyword can be used to indicate that no other pointer will be used to access a chunk of memory while the restricted pointer is alive. If that promise is not upheld, undefined behavior is triggered. It may be difficult to ensure this property, and the property may be brittle - becoming invalid as code evolves. Just like "inline", let's just leave optimizations up to the compiler to figure out. |
||
|---|---|---|
| .. | ||
| atomic.c | ||
| backend.c | ||
| drm.c | ||
| fb.c | ||
| gen_pnpids.sh | ||
| legacy.c | ||
| libliftoff.c | ||
| meson.build | ||
| monitor.c | ||
| properties.c | ||
| renderer.c | ||
| util.c | ||