[Xcb] Question about XCB-XML

Julien Danjou julien at danjou.info
Wed May 26 01:52:13 PDT 2010


On Wed, May 26 2010, Marcos Roriz wrote:

>     One of the thing that I didn't understand is why does XCB/Xlib needs to
> generate Xml for the protocol isn't the protocol fixed (at least at core),
> i.e., "imutable", ins't better/easier to just create a implementation or
> does it really needs the power of dynamic generation the C bindings?

The protocol, and its extension, are fixed. The XML files are
hand-written to describe this protocol. Then this XML files are used to
generate various bindings for various languages.

This mean you do not have to write a full implementation for each
language, just a binding generator.

-- 
Julien Danjou
// ᐰ <julien at danjou.info>   http://julien.danjou.info
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/xcb/attachments/20100526/33a7444e/attachment.pgp>


More information about the Xcb mailing list