[C++-sig] Calling python virtual function from C++ (original) (raw)
David Abrahams dave at boostpro.com
Wed Jan 28 22:27:33 CET 2009
- Previous message: [C++-sig] Calling python virtual function from C++
- Next message: [C++-sig] Calling python virtual function from C++
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
on Wed Jan 28 2009, William MariƩ <william.marie-AT-gmail.com> wrote:
I need to call my testVirtualPure function from C++ side : BaseCmp* bc = BaseCmp(); Base* b = Base(); b->testVirtualPure( bc );
But this causes an error : TypeError: No topython (by-value) converter found for C++ type: class BaseCmp
The above doesn't compile, so you can't possibly be getting that TypeError from it. Please post the exact complete, reproducible example that causes youi problems, after reducing it to a minimal test case.
Thanks,
Dave Abrahams BoostPro Computing http://www.boostpro.com
- Previous message: [C++-sig] Calling python virtual function from C++
- Next message: [C++-sig] Calling python virtual function from C++
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]