[C++-sig] virtual functions and bind size reduction

2009-01-30 Thread Renato Araujo
Hi guys, Now I'm trying to reduce my python module. To cut the size I've reduced the number of times that I have to expose a function. I had some success while working in the same module, but when dealing with more than one things get complicated. To do this I created a "workaround", described

Re: [C++-sig] virtual functions and bind size reduction

2009-01-30 Thread Ralf W. Grosse-Kunstleve
> This apparently works fine when running in same module but if I create a class > derived from Base in another module (another library), this stop > working because the dynamic_cast fails. Simple idea: is the other module imported before the dynamic_cast is executed? That's probably important. (