This commit is contained in:
Alex Clark 2013-03-06 16:55:24 -05:00
parent 1534a5537c
commit e01c8fec56

1
py3.h
View File

@ -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#"