Use wl_container_of internally

Graphics / Wayland / Wayland - Michael Forney [mforney.org] - 5 June 2019 09:58 EDT

Rather than have two versions of the macro with slightly different interfaces, just .

This also removes use of statement expressions, a GNU C extension.

55d0448 Use wl_container_of internally
src/event-loop.c | 4 ++--
src/wayland-client.c | 7 +++----
src/wayland-private.h | 4 ----
src/wayland-server.c | 4 +++-
tests/client-test.c | 2 +-
tests/display-test.c | 2 +-
tests/event-loop-test.c | 2 +-
7 files changed, 11 insertions(+), 14 deletions(-)

Upstream: cgit.freedesktop.org


  • Share