mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 01:46:18 +03:00
Fix #65
This commit is contained in:
parent
1534a5537c
commit
e01c8fec56
1
py3.h
1
py3.h
|
@ -18,6 +18,7 @@
|
||||||
#define PyInt_Check PyLong_Check
|
#define PyInt_Check PyLong_Check
|
||||||
#define PyInt_FromLong PyLong_FromLong
|
#define PyInt_FromLong PyLong_FromLong
|
||||||
#define PyInt_AS_LONG PyLong_AS_LONG
|
#define PyInt_AS_LONG PyLong_AS_LONG
|
||||||
|
#define PyInt_FromSsize_t PyLong_FromSsize_t
|
||||||
|
|
||||||
#else /* PY_VERSION_HEX < 0x03000000 */
|
#else /* PY_VERSION_HEX < 0x03000000 */
|
||||||
#define PY_ARG_BYTES_LENGTH "s#"
|
#define PY_ARG_BYTES_LENGTH "s#"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user