[Xcb] Some comments on XCB
Josh Triplett
josh.trip at verizon.net
Tue May 17 12:56:10 PDT 2005
Carl Worth wrote:
> The second thing I ran into is that the useful prototypes I needed to
> consult while coding are in XCB/xproto.h but this file has a reckless
> disregard for helpful whitespace, containing things like:
>
> XCBGetFontPathRep *XCBGetFontPathReply(XCBConnection *c, XCBGetFontPathCookie cookie, XCBGenericError **e);
> XCBVoidCookie XCBCreatePixmap(XCBConnection *c, CARD8 depth, XCBPIXMAP pid, XCBDRAWABLE drawable, CARD16 width, CARD16 height);
> XCBVoidCookie XCBFreePixmap(XCBConnection *c, XCBPIXMAP pixmap);
>
> which makes it really hard to visually extract the information I
> need. I'd really prefer to find:
>
> XCBGetFontPathRep *
> XCBGetFontPathReply (XCBConnection *c,
> XCBGetFontPathCookie cookie,
> XCBGenericError **e);
>
> XCBVoidCookie
> XCBCreatePixmap (XCBConnection *c,
> CARD8 depth,
> XCBPIXMAP pid,
> XCBDRAWABLE drawable,
> CARD16 width,
> CARD16 height);
>
> XCBVoidCookie
> XCBFreePixmap (XCBConnection *c,
> XCBPIXMAP pixmap);
>
> I recognized that there might be some difficulty in this area due to
> XCB's use of code generation, but anything that could be done to
> improve the current situation would be appreciated.
No problem at all; fixed. Second and subsequent function parameters now
line up with the first.
- Josh Triplett
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
Url : http://lists.freedesktop.org/archives/xcb/attachments/20050517/a0b28b83/signature.pgp
More information about the xcb
mailing list