Skip to content
Commit 86a5d17a authored by Pekka Paalanen's avatar Pekka Paalanen
Browse files

scanner: emit event wrapper functions for server



Generate typed wrapper functions for sending events in a server.

This allows compile time type checking, unlike the existing method of
calling the variadic function wl_resource_post_event().

The stuff in wayland-server.h had to be slightly reordered to have all
(forward) declarations before use.

Signed-off-by: default avatarPekka Paalanen <ppaalanen@gmail.com>
parent 0d22d25b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment