Generate enum bindings automatically

This commit is contained in:
Hamdi Sahloul
2018-09-28 15:39:51 +09:00
parent 29e88e50ff
commit e104fcc000
8 changed files with 31 additions and 68 deletions
@@ -1,9 +1,4 @@
#ifdef HAVE_OPENCV_STITCHING
typedef Stitcher::Status Status;
template<>
PyObject* pyopencv_from(const Status& value)
{
return PyInt_FromLong(value);
}
#endif