git://developer.intra2net.com
/
libftdi
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
9210598
)
swig: python: fix unresolved symbol issue
author
Yegor Yefremov
<yegorslists@googlemail.com>
Tue, 6 Aug 2019 11:42:06 +0000 (13:42 +0200)
committer
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Fri, 9 Aug 2019 11:42:39 +0000 (13:42 +0200)
GCC later than 5.x produce _fdti1.so file with an undefined
symbol str2charp_size due to C99 inline semantics change. So
remove this keyword.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
python/ftdi1.i
patch
|
blob
|
blame
|
history
diff --git
a/python/ftdi1.i
b/python/ftdi1.i
index
d53ebb0
..
f397f84
100644
(file)
--- a/
python/ftdi1.i
+++ b/
python/ftdi1.i
@@
-19,7
+19,7
@@
inline PyObject* charp2str(const char *v_, long len)
#endif
}
-inline char * str2charp_size(PyObject* pyObj, int * size)
+char * str2charp_size(PyObject* pyObj, int * size)
{
char * v_ = 0;
Py_ssize_t len = 0;