4 Jun
2007
4 Jun
'07
1:34 p.m.
How to wrap methode Get with Boost.Python?
class MyClass {
public:
MyClass();
void GetX(double &pos_x);
[...]
I'v tried it with:
.def(
"GetX"
, &::MyClass::GetX
, bp::arg("")
, bp::return_value_policy