[C++-sig] inheritance and virtual callbacks

Matthew Scouten matthew.scouten at gmail.com
Thu Jun 5 20:07:02 CEST 2008


I would love to use the right tool, but as I  mentioned in another thread (
http://mail.python.org/pipermail/c++-sig/2007-November/013078.html) our
library code is too spicy for gccxml. It gets an internal compiler error.

On Wed, Jun 4, 2008 at 12:31 PM, Roman Yakovenko <roman.yakovenko at gmail.com>
wrote:

> 2008/6/4 Matthew Scouten <matthew.scouten at gmail.com>:
> > Ah, I see that is going on.
> >
> > The important thing is not the registration. Registration is irrelevant
> > unless things are getting called from python. My callbacks are only
> called
> > from c++, and are overridden in python.
> >
> > The important difference to note here is that in the py++ code,
> FooCallback
> > is separately wrapped in both foo and bar. That is exactly what I had
> hoped
> > to avoid. I was afraid that would be the case.
>
> Don't afraid - use the right tool for the job :-)
>
> > Thank you.
>
> You are welcome.
>
>
>
> --
> Roman Yakovenko
> C++ Python language binding
> http://www.language-binding.net/
> _______________________________________________
> C++-sig mailing list
> C++-sig at python.org <C%2B%2B-sig at python.org>
> http://mail.python.org/mailman/listinfo/c++-sig
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20080605/77770ddf/attachment.htm>


More information about the Cplusplus-sig mailing list