mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-01 22:58:40 -04:00
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>
This commit is contained in:
parent
66a26aeb2a
commit
9618087c6a
3 changed files with 41 additions and 1 deletions
|
|
@ -162,6 +162,9 @@ get_next_argument(const char *signature, struct argument_details *details);
|
|||
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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue