Hello. I have a library which exposes the following function:
namespace ftr {
Player & getPlayer(int num);
}
and it's exposed to python by:
def("getPlayer", &ftr::getPlayer,
return_value_policy
Hello. I have a library which exposes the following function:
namespace ftr {
Player & getPlayer(int num);
}
and it's exposed to python by:
def("getPlayer", &ftr::getPlayer,
return_value_policy