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

Peter Harris pharris at opentext.com
Mon Jan 5 09:57:49 PST 2009


Antoine Latter wrote:
> I like how your version adds comments to the enum-items with the type
> corresponding to that portion of a value-param field.

My Cunning Plan is to eventually make those part of the enum itself. If
the type is known, an equivalent to (most of) xcb/util/aux can be
automatically generated, even for languages where you want to keep
ATOMs, PIXMAPs, and CARD32s distinct.

First, I want to get all the extensions annotated with enum/mask.

Peter Harris
-- 
               Open Text Connectivity Solutions Group
Peter Harris                    http://www.opentext.com/connectivity
Research and Development        Phone: +1 905 762 6001
pharris at opentext.com            Toll Free: 1 877 359 4866


More information about the Xcb mailing list