diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2012-08-15 07:48:57 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2012-08-15 07:48:57 +0000 |
commit | 68862691e6229237301ae7af10a5c894e94353c6 (patch) | |
tree | 5cfb456e4a2f53ec65e1d2ba850e50c9830b7c71 /Lib/python/pyhead.swg | |
parent | 289b8bb269f29cca766b61cab12ee4c883749e7d (diff) | |
download | swig-68862691e6229237301ae7af10a5c894e94353c6.tar.gz |
Fix #3541744 - Missing PyInt_FromSize_t calls for Python 3
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13608 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Lib/python/pyhead.swg')
-rw-r--r-- | Lib/python/pyhead.swg | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/python/pyhead.swg b/Lib/python/pyhead.swg index 803cd0745..c333e9d89 100644 --- a/Lib/python/pyhead.swg +++ b/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) |