On 06/25/2011 11:40 AM, Jay Riley wrote:
I figured I might be able to expose the tuple by some variation on the
below:
class_("ActionTargetTuple")
.def("get", &ActionTargetTuple::get,
return_value_policy())
;
then use get from python, but if it is doable in this way, I'm not sure
what the set u
I've been trying to figure out how to expose a property in my class that is a
boost::tuple. The tuple is defined as follows:
typedef boost::shared_ptr action_ptr;
typedef boost::tuple ActionTargetTuple;
It's contained with a class defined as follows:
class Action : public Cloneable