mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2026-01-29 22:50:30 +01:00
Placing the 'enum' attribute on the args to bind_tool_capabilities and tool_capabilities causes problems for the code autogenerated by reis. In particular, args with the enum attribute end up using a variable of the associated enumerated type rather than (for example) u32. This prevents us from OR-ing together flags since such combined values are not considered valid in the type system. Maybe the XML should have something similar to 'enum' but which explicitly has flag-like semantics... This would allow autogen code to still refer back to the enum, but also ensure that appropriate (boolean-combinable) types are used for storage. But such an addition is outside the direct scope of this patchset... |
||
|---|---|---|
| .. | ||
| ei-scanner | ||
| meson.build | ||
| protocol.dtd | ||
| protocol.xml | ||