scanner: Add version argument to wayland-scanner

Graphics / Wayland / Wayland - Armin Krezović [gmail.com] - 6 May 2016 07:37 UTC

This adds a command line argument to print wayland-scanner version.

It also makes wayland-scanner emit a comment with wayland library
version to every file it generates.

v2: separate variable definitions into their own lines and remove old style "version" argument

721c91c scanner: Add version argument to wayland-scanner
src/scanner.c | 26 ++++++++++++++++++++++++--
1 file changed, 24 insertions(+), 2 deletions(-)

Upstream: cgit.freedesktop.org


  • Share