[C++-sig] why am I getting a Boost.Python.ArgumentError? (original) (raw)
Tom Haynes trhaynes at gmail.com
Mon Aug 24 23:27:56 CEST 2009
- Previous message: [C++-sig] [Boost.Python] Request to merge some patches from trunk into 1.40 branch (was: Re: PySide has been released)
- Next message: [C++-sig] why am I getting a Boost.Python.ArgumentError?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
When trying to called a wrapped method (getName) from python, I get the following error:
return self.geometry.getName()
Boost.Python.ArgumentError: Python argument types in Geometry.getName(Geometry) did not match C++ signature: getName(gfx::Geometry {lvalue})
I don't understand why these don't match, though. It seems to say that the C++ signature is Geometry::getName() (which is true) ... and that's how I'm calling it from python. If I "print self.geometry" I get that it is a gfx.Geometry object.
Thanks for your help.
-tom
- Previous message: [C++-sig] [Boost.Python] Request to merge some patches from trunk into 1.40 branch (was: Re: PySide has been released)
- Next message: [C++-sig] why am I getting a Boost.Python.ArgumentError?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]