summaryrefslogtreecommitdiffstats
path: root/src/wayland-private.h
diff options
context:
space:
mode:
authorYong Bakos <ybakos@humanoriented.com>2016-11-03 13:42:54 -0700
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>2016-11-10 17:12:04 +0200
commit9618087c6ad0b1e2de4037279f7370846c5f508c (patch)
tree93b2c91bee4e7c52851c0d38816a1ecc8c31af71 /src/wayland-private.h
parentprotocol: Remove inconsistent line breaks (diff)
downloadwayland-9618087c6ad0b1e2de4037279f7370846c5f508c.tar
wayland-9618087c6ad0b1e2de4037279f7370846c5f508c.tar.gz
wayland-9618087c6ad0b1e2de4037279f7370846c5f508c.tar.bz2
wayland-9618087c6ad0b1e2de4037279f7370846c5f508c.tar.lz
wayland-9618087c6ad0b1e2de4037279f7370846c5f508c.tar.xz
wayland-9618087c6ad0b1e2de4037279f7370846c5f508c.tar.zst
wayland-9618087c6ad0b1e2de4037279f7370846c5f508c.zip
tests: Test wl_message_count_arrays
message-test.c did not cover wl_message_count_arrays, so add one test that specifically tests this method. Note that this exposes wl_message_count_arrays in a private header (wayland-private.h), and removes the `static` modifier of the implementation. Signed-off-by: Yong Bakos <ybakos@humanoriented.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Diffstat (limited to 'src/wayland-private.h')
-rw-r--r--src/wayland-private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wayland-private.h b/src/wayland-private.h
index ef58ccf..676b181 100644
--- a/src/wayland-private.h
+++ b/src/wayland-private.h
@@ -163,6 +163,9 @@ int
arg_count_for_signature(const char *signature);
int
+wl_message_count_arrays(const struct wl_message *message);
+
+int
wl_message_get_since(const struct wl_message *message);
void