[PATCH wayland 0/4] wayland: Add support for custom dispatchers

Jason Ekstrand jason at jlekstrand.net
Tue Jan 29 07:21:50 PST 2013


Jason Ekstrand (4):
  Make a #define for WL_CLOSURE_MAX_ARGS instead of a magic number.
  Add a default dispatcher function and related test
  Convert wl_closure to use wl_argument and enable dispatchers
  Fill out dummy objects in tests so dispatchers will work

 src/connection.c         | 404 ++++++++++++++++++++++++++++-------------------
 src/wayland-client.c     |  15 +-
 src/wayland-private.h    |  16 +-
 src/wayland-server.c     |  22 +--
 src/wayland-util.h       |  38 ++++-
 tests/.gitignore         |   1 +
 tests/Makefile.am        |   2 +
 tests/connection-test.c  |  35 +++-
 tests/dispatcher-test.c  |  96 +++++++++++
 tests/os-wrappers-test.c |  11 +-
 10 files changed, 437 insertions(+), 203 deletions(-)
 create mode 100644 tests/dispatcher-test.c

-- 
1.8.1



More information about the wayland-devel mailing list