[Xcb] libxcb: xcb.h: anonymous structs in typedefs

Sascha Ziemann ceving at gmail.com
Mon May 29 12:34:10 UTC 2017


I stumbled upon a problem in GCCXML with anonymous structs, while
analyzing the header xcb.h. As a result I would like to propose the
eliminate the anonymous structs. Most of the structs in the XCB
headers are not anonymous but have a name. Giving all structs a name
would make the type definitions more consistent.

The attached patch adds the missing struct names for xcb.h in libxcb.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libxcb-anon-structs.patch
Type: application/octet-stream
Size: 2280 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/xcb/attachments/20170529/42b62879/attachment.obj>


More information about the Xcb mailing list