[Xcb] Fields that are referenced but not defined in protocol descriptions

Andrew Oakley andrew at ado.is-a-geek.net
Sun Mar 28 13:18:16 PDT 2010


Julien Cristau wrote:
> On Sun, Mar 28, 2010 at 16:49:45 +0100, Andrew Oakley wrote:
> 
>> A field called length is referenced but does not appear elsewhere in the
>> structure.  The python scripts seem to add the relevant member, but this
>> doesn't seem right to me - its not clear where the extra member should
>> go or what data type it should have.
>>
> Every X protocol reply has a 4-byte length field at offset 4, see the
> xGenericReply structure in <X11/Xproto.h>.

Thanks, I probably should have spotted that.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/xcb/attachments/20100328/e94851c3/attachment.pgp>


More information about the Xcb mailing list