[Xcb] RFC: Altenum updates for xcb/proto

Peter Harris pharris at opentext.com
Mon Feb 23 11:15:58 PST 2009


Julien Danjou wrote:
> At 1235075347 time_t, Peter Harris wrote:
>> Suggestions for a better name are particularly welcome.
> 
> AnyValue?
> 
> That's a suggestion. :)

The fundamental dilemma I'm having is the rift between an enum name that
is descriptive when reading the XML ("MayBeNone" vs "AnyValue" or
"Untyped") and an enum name that doesn't look ugly once libxcb is done
with it (XCB_MAY_BE_NONE_NONE vs XCB_ANY_VALUE_NONE or XCB_UNTYPED_NONE).

On the basis that generated bindings are (hopefully) used a lot more
often than the .xml files are read by humans, I'm starting to lean
toward "Untyped".

In the hope that I'm missing something obvious that will make both the
xml and the generated bindings beautiful, I'm going to ask again: Can
anyone think of a better name? Please?

Thanks,
 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