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
_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to