[Xcb] RFC: Altenum updates for xcb/proto

Eyal Alaluf eyala at mainsoft.com
Mon Feb 23 13:44:39 PST 2009


How about "Nullable"? It is already in use in .Net and I think also in
XML.

-----Original Message-----
From: xcb-bounces at lists.freedesktop.org
[mailto:xcb-bounces at lists.freedesktop.org] On Behalf Of Peter Harris
Sent: Monday, February 23, 2009 9:16 PM
To: Julien Danjou
Cc: xcb at lists.freedesktop.org
Subject: Re: [Xcb] RFC: Altenum updates for xcb/proto

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
_______________________________________________
Xcb mailing list
Xcb at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xcb


More information about the Xcb mailing list