Bug #3563647 - PyInt_FromSize_t unavailable prior to Python 2.5 for unsigned int types
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13953 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
5e507b82f1
commit
16481c999e
2 changed files with 7 additions and 0 deletions
|
|
@ -5,6 +5,9 @@ See the RELEASENOTES file for a summary of changes in each release.
|
||||||
Version 2.0.9 (in progress)
|
Version 2.0.9 (in progress)
|
||||||
===========================
|
===========================
|
||||||
|
|
||||||
|
2012-12-08: wsfulton
|
||||||
|
[Python] Bug #3563647 - PyInt_FromSize_t unavailable prior to Python 2.5 for unsigned int types.
|
||||||
|
|
||||||
2012-12-08: wsfulton
|
2012-12-08: wsfulton
|
||||||
[Perl] Fix bug #3571361 - C++ comment in C wrappers.
|
[Perl] Fix bug #3571361 - C++ comment in C wrappers.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -175,6 +175,10 @@ static long PyNumber_AsSsize_t (PyObject *x, void *SWIGUNUSEDPARM(exc))
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if PY_VERSION_HEX < 0x02050000
|
||||||
|
#define PyInt_FromSize_t(x) PyInt_FromLong((long)x)
|
||||||
|
#endif
|
||||||
|
|
||||||
#if PY_VERSION_HEX < 0x02040000
|
#if PY_VERSION_HEX < 0x02040000
|
||||||
#define Py_VISIT(op) \
|
#define Py_VISIT(op) \
|
||||||
do { \
|
do { \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue