[Xcb] RFC: Altenum updates for xcb/proto

Peter Harris pharris at opentext.com
Tue Feb 24 15:43:36 PST 2009


Antoine Latter wrote:
> On Mon, Feb 23, 2009 at 3:44 PM, Eyal Alaluf <eyala at mainsoft.com> wrote:
>> How about "Nullable"? It is already in use in .Net and I think also in
>> XML.
>>
> 
> So that would translate to something like:
> 
> XCB_NULLABLE_NONE
> 
> in the generated code, and
> 
> <field type="WINDOW" name="child" altenum="Nullable" />
> 
> in the XML.
> 
> Which looks sensible enough in both places.

Yes, that is definitely the best alternative I've seen so far. Thanks, Eyal!

I've updated http://cgit.freedesktop.org/~peterh/xcbproto-enum/

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