It sounds to me like a problem with C++->python polymorphism, i.e you need to use Swig's "director" feature. I'm available this evening and tomorrow, if help needed ; shall we meet in the open-spacfe (band room) after teh clusing of teh conference ?

++
Pascal

Ralph Heinkel a écrit :
Hi there,

is there anybody around today/tomorrow with a little bit more insight into swig than I have?

I have an abstract c++ class, wrapped into swig. I get an subclass of it in python, make an instance of it, and pass it to another c++ function (also wrapped in swig) which accepts instances of the abstract original c++ class as an argument. But here swig barfs at it. I have a little example with me, some 20 lines of code. If anybody could help me with this this would be great.

Thanks,

Ralph
_______________________________________________
EuroPython mailing list
EuroPython@python.org
http://mail.python.org/mailman/listinfo/europython


_______________________________________________
EuroPython mailing list
EuroPython@python.org
http://mail.python.org/mailman/listinfo/europython

Reply via email to