SyFi
0.3
|
Static Public Member Functions | |
static PyObject * | from (const std::pair< T, U > &val) |
Definition at line 4988 of file SyFiPYTHON_wrap.cxx.
static PyObject* swig::traits_from< std::pair< T, U > >::from | ( | const std::pair< T, U > & | val | ) | [inline, static] |
Definition at line 4989 of file SyFiPYTHON_wrap.cxx.
References swig::from().
{ PyObject* obj = PyTuple_New(2); PyTuple_SetItem(obj,0,swig::from(val.first)); PyTuple_SetItem(obj,1,swig::from(val.second)); return obj; }