Commit f5d181db authored by Sayed Adel's avatar Sayed Adel

python:ppc64 Add missing support for PyLongObject

parent da7e1cfb
...@@ -674,7 +674,7 @@ bool pyopencv_to(PyObject* obj, int& value, const char* name) ...@@ -674,7 +674,7 @@ bool pyopencv_to(PyObject* obj, int& value, const char* name)
return value != -1 || !PyErr_Occurred(); return value != -1 || !PyErr_Occurred();
} }
#if defined (_M_AMD64) || defined (__x86_64__) #if defined (_M_AMD64) || defined (__x86_64__) || defined (__PPC64__)
template<> template<>
PyObject* pyopencv_from(const unsigned int& value) PyObject* pyopencv_from(const unsigned int& value)
{ {
...@@ -682,7 +682,6 @@ PyObject* pyopencv_from(const unsigned int& value) ...@@ -682,7 +682,6 @@ PyObject* pyopencv_from(const unsigned int& value)
} }
template<> template<>
bool pyopencv_to(PyObject* obj, unsigned int& value, const char* name) bool pyopencv_to(PyObject* obj, unsigned int& value, const char* name)
{ {
(void)name; (void)name;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment