[C++-sig] How do I wrap virtual methods (solved)

David Abrahams dave at boost-consulting.com
Fri Aug 5 20:45:05 CEST 2005


Eric Jardim <ericjardim at gmail.com> writes:

> The only thing that I am concerned about, is how 
> does it know to convert native "QObject" to the "QObject_Wrapper". 

It doesn't.  QObject_Wrapper is only needed when the virtual function
might be overridden in Python.  By the time you have a native QObject,
all of its class' virtual functions are already determined.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com




More information about the Cplusplus-sig mailing list