[Xcb] [PATCH] c_client.py: Add padding after full_sequence for certain XGE events.

Keith Packard keithp at keithp.com
Sun Dec 29 19:04:26 PST 2013


Kenneth Graunke <kenneth at whitecape.org> writes:

> To correct this, we check if the field following full_sequence has a
> type whose size is 8 bytes.  If so, we add an additional uint32_t field
> called "pad_fs" (pad after full_sequence).  This is harmless on 32-bit
> architectures, and essential for 64-bit architectures to function.

I think you need to check to see if *any* extended (past-32bytes) field
is 64 bits?

Note that this change will break currently working libraries on 32-bit systems.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/xcb/attachments/20131229/e34eaef3/attachment.pgp>


More information about the Xcb mailing list