projects
/
opencv
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update to 2.0.0 tree from current Fremantle build
[opencv]
/
interfaces
/
swig
/
python
/
nointpb.i
diff --git
a/interfaces/swig/python/nointpb.i
b/interfaces/swig/python/nointpb.i
index
e4a70cf
..
f48e88b
100644
(file)
--- a/
interfaces/swig/python/nointpb.i
+++ b/
interfaces/swig/python/nointpb.i
@@
-17,7
+17,7
@@
/* wrapper to the better function PyInt_AsLong, removing problems
with RedHat (I hope) */
/* wrapper to the better function PyInt_AsLong, removing problems
with RedHat (I hope) */
-static PyAPI_FUNC(long) PyInt_AS_LONG (PyObject *obj) {
+long PyInt_AS_LONG (PyObject *obj) {
return PyInt_AsLong (obj);
}
return PyInt_AsLong (obj);
}
@@
-27,7
+27,7
@@
static PyAPI_FUNC(long) PyInt_AS_LONG (PyObject *obj) {
#endif
/* wrapper to the better function PyFloat_AS_DOUBLE, to prevent errors */
#endif
/* wrapper to the better function PyFloat_AS_DOUBLE, to prevent errors */
-static PyAPI_FUNC(double) PyFloat_AS_DOUBLE (PyObject *obj) {
+double PyFloat_AS_DOUBLE (PyObject *obj) {
return PyFloat_AsDouble (obj);
}
%}
return PyFloat_AsDouble (obj);
}
%}