Fix C python < 2.5 wrappers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12605 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
20cda0168e
commit
71be2441c2
1 changed files with 1 additions and 1 deletions
|
|
@ -162,7 +162,7 @@ typedef getreadbufferproc readbufferproc;
|
||||||
typedef getwritebufferproc writebufferproc;
|
typedef getwritebufferproc writebufferproc;
|
||||||
typedef getsegcountproc segcountproc;
|
typedef getsegcountproc segcountproc;
|
||||||
typedef getcharbufferproc charbufferproc;
|
typedef getcharbufferproc charbufferproc;
|
||||||
static inline long PyNumber_AsSsize_t (PyObject *x, void*)
|
static long PyNumber_AsSsize_t (PyObject *x, void *SWIGUNUSEDPARM(exc))
|
||||||
{
|
{
|
||||||
long result = 0;
|
long result = 0;
|
||||||
PyObject *i = PyNumber_Int(x);
|
PyObject *i = PyNumber_Int(x);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue