[Xcb] RFC: Altenum updates for xcb/proto
Barton C Massey
bart at cs.pdx.edu
Wed Feb 25 15:03:11 PST 2009
In message <49A5C65E.7010508 at opentext.com> you wrote:
> Something like the attached, to go with
> http://cgit.freedesktop.org/~peterh/xcbproto-enum/log/?h=plethora
> git://anongit.freedesktop.org/~peterh/xcbproto-enum plethora
> perhaps?
>
> It generates enums like:
>
> typedef enum xcb_window_enum {
> XCB_WINDOW_NONE = 0
> } xcb_window_enum;
This isn't bad. I'd probably just generate something like
static const xid_t XCB_WINDOW_NONE = 0;
and call it a day, though.
Bart
More information about the Xcb
mailing list