Static Public Member Functions | |
static PyObject * | from (const std::pair< T, U > &val) |
Definition at line 4694 of file SyFi_wrap.cc.
static PyObject* swig::traits_from< std::pair< T, U > >::from | ( | const std::pair< T, U > & | val | ) | [inline, static] |
Definition at line 4695 of file SyFi_wrap.cc.
References swig::from().
04695 { 04696 PyObject* obj = PyTuple_New(2); 04697 PyTuple_SetItem(obj,0,swig::from(val.first)); 04698 PyTuple_SetItem(obj,1,swig::from(val.second)); 04699 return obj; 04700 }