projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da7e1cf
)
python:ppc64 Add missing support for PyLongObject
author
Sayed Adel
<seiko@imavr.com>
Thu, 6 Sep 2018 20:04:05 +0000
(20:04 +0000)
committer
Sayed Adel
<seiko@imavr.com>
Thu, 6 Sep 2018 20:04:05 +0000
(20:04 +0000)
modules/python/src2/cv2.cpp
patch
|
blob
|
history
diff --git
a/modules/python/src2/cv2.cpp
b/modules/python/src2/cv2.cpp
index
89d0aa3
..
81b6bf1
100644
(file)
--- a/
modules/python/src2/cv2.cpp
+++ b/
modules/python/src2/cv2.cpp
@@
-674,7
+674,7
@@
bool pyopencv_to(PyObject* obj, int& value, const char* name)
return value != -1 || !PyErr_Occurred();
}
-#if defined (_M_AMD64) || defined (__x86_64__)
+#if defined (_M_AMD64) || defined (__x86_64__)
|| defined (__PPC64__)
template<>
PyObject* pyopencv_from(const unsigned int& value)
{
@@
-682,7
+682,6
@@
PyObject* pyopencv_from(const unsigned int& value)
}
template<>
-
bool pyopencv_to(PyObject* obj, unsigned int& value, const char* name)
{
(void)name;