PLearn 0.1
|
#include <PythonObjectWrapper.h>
Static Public Member Functions | |
static PyObject * | newPyObject (const T &x) |
Definition at line 1266 of file PythonObjectWrapper.h.
static PyObject* PLearn::StaticConvertEnumToPyObject< T, is_enum >::newPyObject | ( | const T & | x | ) | [inline, static] |
Definition at line 1268 of file PythonObjectWrapper.h.
References PLERROR.
Referenced by PLearn::StaticConvertEnumToPyObject< T, true >::newPyObject().
{ PLERROR("Cannot convert type %s by value to python.", TypeTraits<T>::name().c_str()); return 0;//shut up compiler }