[Xcb] [PATCH] XCB-XML: Proposal for alignment padding
Evgeny M. Zubok
evgeny.zubok at tochka.ru
Tue Nov 9 08:42:24 PST 2010
Sorry, a typo here:
An hypotetical example:
1 CARD8 string_len (s)
1 CARD8 bytes_len (b)
1 CARD8 uints_len (u)
21 unused
2u LISTofCARD32 uints list
4 CARD32 dummy
2s LISTofCARD8 string
p unused, p=pad(2s)
2b LISTofCARD8 bytes
q unused, q=pad(2b)
Should be
1 CARD8 string_len (s)
1 CARD8 bytes_len (b)
1 CARD8 uints_len (u)
1 unused
4u LISTofCARD32 uints list
4 CARD32 dummy
s LISTofCARD8 string
p unused, p=pad(s)
b LISTofCARD8 bytes
q unused, q=pad(b)
More information about the Xcb
mailing list