Line
Link Here
|
0 |
-- swig.orig/Lib/python/pyhead.swg |
0 |
++ swig/Lib/python/pyhead.swg |
Lines 5-10
Link Here
|
5 |
#define PyInt_Check(x) PyLong_Check(x) |
5 |
#define PyInt_Check(x) PyLong_Check(x) |
6 |
#define PyInt_AsLong(x) PyLong_AsLong(x) |
6 |
#define PyInt_AsLong(x) PyLong_AsLong(x) |
7 |
#define PyInt_FromLong(x) PyLong_FromLong(x) |
7 |
#define PyInt_FromLong(x) PyLong_FromLong(x) |
|
|
8 |
#define PyInt_FromSize_t(x) PyLong_FromSize_t(x) |
8 |
#define PyString_Check(name) PyBytes_Check(name) |
9 |
#define PyString_Check(name) PyBytes_Check(name) |
9 |
#define PyString_FromString(x) PyUnicode_FromString(x) |
10 |
#define PyString_FromString(x) PyUnicode_FromString(x) |
10 |
#define PyString_Format(fmt, args) PyUnicode_Format(fmt, args) |
11 |
#define PyString_Format(fmt, args) PyUnicode_Format(fmt, args) |