[Xcb] [Bug 23403] compiler padding causes reply parsing to use incorrect offsets
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Jan 3 13:06:57 PST 2013
https://bugs.freedesktop.org/show_bug.cgi?id=23403
--- Comment #9 from Peter Harris <peter.harris at hummingbird.com> ---
In general, I am opposed to language-specific cruft in the protocol
description.
If I may make a suggestion, all structs/requests/replies/etc should be treated
as packed. Instead of adding a "packed" attribute, explicit padding should be
added to the few remaining objects that currently contain implicit padding.
c_client.py (and/or xtypes.py) could then be enhanced to automatically notice
structs that don't fit the default C alignment rules and add whichever
annotations the C compiler needs.
What do you think?
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/xcb/attachments/20130103/abd1f172/attachment.html>
More information about the Xcb
mailing list