[PATCH wayland 2/3] Add a wl_array_printf function for easy string formatting

2013-12-19 Thread Jason Ekstrand
Signed-off-by: Jason Ekstrand --- This version of the patch adds a wl_array_vprintf function if we want it. Both versions accomplish exactly the same thing as far as the series is concerned. However, wl_array_vprintf might be nice in the future. Feel free to use whichever one you prefer. src/

[PATCH wayland 2/3] Add a wl_array_printf function for easy string formatting

2013-12-18 Thread Jason Ekstrand
Signed-off-by: Jason Ekstrand --- src/wayland-util.c | 41 + src/wayland-util.h | 1 + 2 files changed, 42 insertions(+) diff --git a/src/wayland-util.c b/src/wayland-util.c index 4fe9c81..c9d6d0e 100644 --- a/src/wayland-util.c +++ b/src/wayland-util.c @