mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
connection: print array size
This makes it easier to understand how an xdg_toplevel is configured for instance. Signed-off-by: Simon Ser <contact@emersion.fr>
This commit is contained in:
parent
2f05ceeb4d
commit
2aa0a83d36
1 changed files with 1 additions and 1 deletions
|
|
@ -1332,7 +1332,7 @@ wl_closure_print(struct wl_closure *closure, struct wl_object *target,
|
|||
fprintf(stderr, "nil");
|
||||
break;
|
||||
case 'a':
|
||||
fprintf(stderr, "array");
|
||||
fprintf(stderr, "array[%zu]", closure->args[i].a->size);
|
||||
break;
|
||||
case 'h':
|
||||
fprintf(stderr, "fd %d", closure->args[i].h);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue