[Xcb] [Bug 43603] RotateProperties has an array of 'atoms' where the spec says 'properties'

Josh Triplett josh at joshtriplett.org
Thu Dec 8 17:37:04 PST 2011


On Thu, Dec 08, 2011 at 04:18:23PM -0800, Bart Massey wrote:
> One of the things we do try to enforce is that the names in XCB match
> the names in the spec (where there is one :-) to support just the kind
> of case you describe. On the other hand, I hate to break existing
> code.
> 
> Suggestions appreciated; I hate to just let this one die if we could
> figure out something better.

I can think of one possible solution, if we don't mind using anonymous
union support.  Just define the relevant field as an anonymous union,
containing both field names.  That would preserve both API and ABI.

Changing the name would break API but not ABI.

- Josh Triplett


More information about the Xcb mailing list