[PATCH wayland] Add "enum" attribute to "arg" elements

Jeroen Bollen jbinero at gmail.com
Sun Apr 19 05:51:50 PDT 2015


Hello,

It seems like this discussion died off. Currently there is no way to tell,
from the Wayland XML specification whether an argument is a bitfield, or
whether the argument takes an enum and what enum this is.

I am currently in the progress of writing a Wayland binding generator for
the Rust language. This language, like many others is strongly typed. To
make full usage of this type system, it would be beneficial to know from
the specification whether an argument is a bitfield, and what enum type it
takes.

Surely there are more people who generate bindings to these strongly typed
languages. How have you fixed the issue? Are there patched versions
available, and maybe pending to be merged? I have looked around a bit, and
didn't find anything, but then again, I'm not familiar with Wayland
development. (This is the first time I use a mailing list!)

Much appreciated,
Jeroen Bollen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20150419/42ee2fcf/attachment.html>


More information about the wayland-devel mailing list