[Xcb] Proposal: Link fields to enums in the protocol XML files

Barton C Massey bart at cs.pdx.edu
Mon Jan 5 12:00:31 PST 2009


In message <49624DA3.2050606 at opentext.com> you wrote:
> The two options I see are: (a) Allow an enum to contain other enums, or
> (b) duplicate by hand the contents of ButtonMask and ModMask.
> 
> Both of these look ugly to me. (b) is clearly less work (as none of the
> generators will have to recursively parse enums), but feels slightly
> uglier than (a).
> 
> What are your thoughts?

Just allow multiple occurrences of the mask reference in the
field values?  Or am I missing something here?

    Bart



More information about the Xcb mailing list