Hi,

The main problem here is that, in my base class I have a lot of
protected virtual methods, and to export this I need replicate and
export again all functions for all derived class.

This cause a lot of call to function ".def" from "class_" template,
and this make the code bigger. Some classes I have about 20 protected
virtual functions, and another 10 derived classes, then  I  need use
200 calls of ".def".

There is some workaround to export protected functions and virtual
functions to avoid call ".def" function in all derived wrapper class?

Thanks.



On Mon, Jan 26, 2009 at 8:06 PM, Ralf W. Grosse-Kunstleve
<r...@yahoo.com> wrote:
> Are you wrapping many trivial (member) functions?
>
>
>
> ----- Original Message ----
> From: Renato Araujo <rena...@gmail.com>
> To: Development of Python/C++ integration <cplusplus-sig@python.org>
> Sent: Monday, January 26, 2009 6:16:59 AM
> Subject: Re: [C++-sig] bindings size
>
> I'm already using this. This help but I need reduce more because the
> python binding is about four times bigger then c++ library.
>
> Thanks
> _______________________________________________
> Cplusplus-sig mailing list
> Cplusplus-sig@python.org
> http://mail.python.org/mailman/listinfo/cplusplus-sig
>



-- 
Renato Araujo Oliveira Filho
_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to