[Xcb] How much of xcb is hand coded?

Micah Nordland mpnordland at gmail.com
Mon Dec 24 13:48:17 PST 2012

Well I tried to use the C api, and it works for the most part, but once you
start trying to wrangle with pointers, you want to do it the "C++ way", and
with a C api, that's difficult. Especially with events and smart pointers.
I could try and manage them myself, but I'm not very familiar with it yet,
and smart pointers are safer too.

On Mon, Dec 24, 2012 at 3:34 PM, Jeremy Huddleston Sequoia <
jeremyhu at freedesktop.org> wrote:

> What do you see as the main benefit of having a C++ API instead of using
> the C API in your C++ application?
> On Dec 24, 2012, at 12:28 PM, Micah Nordland <mpnordland at gmail.com> wrote:
> > I was under the impression that all of the code in libxcb was generated
> > from the xml, but now I'm not so sure. What is generated from the xml,
> and
> > what isn't? I ask this because I'm considering what it would take to
> create
> > a very minimal C++ port of xcb, and I want to know what I have to
> generate
> > from the xml, and what I can do by hand.
> >
> > --
> > Praising my Savior all the day long,
> > Micah Nordland
> > _______________________________________________
> > Xcb mailing list
> > Xcb at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/xcb

Praising my Savior all the day long,
Micah Nordland
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/xcb/attachments/20121224/2afd9bf0/attachment.html>

More information about the Xcb mailing list