In C++ friend functions does not become methods. They just take params of that
type.
Move your friend function’s from class declaration and you will be fine.
On 16 Jul 2014, at 15:52, Kv Gopalkrishnan wrote:
> I want to expose a C++ friend functions to python using Python boost.
> class Turtl
When I said “outside” I meant standalone function.
Moreover I see you’ve added property with the same functions. This won’t work.
I would recommend you to look at docs
-http://www.boost.org/doc/libs/1_55_0/libs/python/doc/tutorial/doc/html/python/exposing.html#python.constructors
Valid wrap with