[C++-sig] Return value policy for property (original) (raw)
Koen Van Herck koen_van_herck at yahoo.com
Mon Dec 12 14:20:25 CET 2005
- Previous message: [C++-sig] boost.python reference
- Next message: [C++-sig] Return value policy for property
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello,
I have a member function that I've wrapped as .def("getTime", &MyClass::getTime, return_value_policy())
Now I want to call the same function (getTime) as a Python property: .add_property("time", ???)
How do I specify the 'manage_new_object' return value policy ?
Regards, Koen Van Herck.
- Previous message: [C++-sig] boost.python reference
- Next message: [C++-sig] Return value policy for property
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]