[Xcb] [PATCH] libxcb: Fix multiple xidtype lists in the same request
peter.is.a.geek at gmail.com
Wed Nov 12 12:15:18 PST 2008
The attached patch fixes a bug where c_client.py wasn't generating
*_end functions, but expected them to exist in order to find the
subsequent list's start. I initially hit this bug when working on
c_client.py compares field.field_type against a hard-coded list of
cardinal types. The trouble is, <xidtype>s have a field_type of
'xcb'. Just like structures and other non-cardinal types.
The fix appears to be replacing _cardinal_types with
The down-side is, after this patch all sorts of *_iterator functions
go away (and are replaced with *_end functions). I'm not sure if
anybody is using those functions today, or if we need to provide
Could someone with more knowledge of c_client.py than I have please
review this patch?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2472 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/xcb/attachments/20081112/13350278/attachment.obj
More information about the Xcb