Hi all,
Here's a take v2 of the series, with the following changes:
- don't trim trailing NULL entries from the wl_interfaces* array
- updated tests - separate patches to ease review, to be squashed
On the question of why, despite the aesthetics these patches make the
generated files actually understandable by a human being...
Thanks
Emil
Emil Velikov (8):
scanner: use c99 initializers for the wl_interface * array
fixup! scanner: use c99 initializers for the wl_interface * array
scanner: use c99 initializers for the request/events arrays
fixup! scanner: use c99 initializers for the request/events arrays
scanner: use c99 initializers for the interface symbols
fixup! scanner: use c99 initializers for the interface symbols
scanner: initialize .{method,event}_count via ARRAY_SIZE
fixup! scanner: initialize .{method,event}_count via ARRAY_SIZE
src/scanner.c | 32 +--
tests/data/example-code.c | 557 ++++++++++++++++++++--------------------
tests/data/small-code-core.c | 31 +--
tests/data/small-code.c | 31 +--
tests/data/small-private-code.c | 31 +--
5 files changed, 339 insertions(+), 343 deletions(-)
--
2.16.0
_______________________________________________
wayland-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-devel