diff options
Diffstat (limited to 'extra/swig/pyint_fromsize_t.diff')
-rw-r--r-- | extra/swig/pyint_fromsize_t.diff | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/extra/swig/pyint_fromsize_t.diff b/extra/swig/pyint_fromsize_t.diff deleted file mode 100644 index 1c7727ae2..000000000 --- a/extra/swig/pyint_fromsize_t.diff +++ /dev/null @@ -1,18 +0,0 @@ -Description: Py3k: Map PyInt_FromSize_t to PyLong_FromSize_t - The latest SWIG version introduced a usage of PyInt_FromSize_t, but - does not define a compatibility macro for Python 3k as for the other - PyInt_... functions. This patch adds that macro. - -Author: Torsten Landschoff <torsten@debian.org> - - ---- swig2.0-2.0.7.orig/Lib/python/pyhead.swg -+++ swig2.0-2.0.7/Lib/python/pyhead.swg -@@ -5,6 +5,7 @@ - #define PyInt_Check(x) PyLong_Check(x) - #define PyInt_AsLong(x) PyLong_AsLong(x) - #define PyInt_FromLong(x) PyLong_FromLong(x) -+#define PyInt_FromSize_t(x) PyLong_FromSize_t(x) - #define PyString_Check(name) PyBytes_Check(name) - #define PyString_FromString(x) PyUnicode_FromString(x) - #define PyString_Format(fmt, args) PyUnicode_Format(fmt, args) |