Author serhiy.storchaka
Recipients inada.naoki, rhettinger, serhiy.storchaka
Date 2016-06-19.05:41:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1466314864.43.0.456931315392.issue27350@psf.upfronthosting.co.za>
In-reply-to
Content
> How to support sizeof(Py_ssize_t) == 4?

#if SIZEOF_VOID_P == 4

> Can I use int8_t, int16_t and int32_t

You can use PY_INT32_T for 32-bit signed integers, short for 16-bit signed integers (if SIZEOF_SHORT == 2) and signed char for 8-bit signed integers. Or introduce PY_INT16_T and PY_INT8_T similarly as it was done for PY_INT32_T.
History
Date User Action Args
2016-06-19 05:41:04serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, inada.naoki
2016-06-19 05:41:04serhiy.storchakasetmessageid: <1466314864.43.0.456931315392.issue27350@psf.upfronthosting.co.za>
2016-06-19 05:41:04serhiy.storchakalinkissue27350 messages
2016-06-19 05:41:04serhiy.storchakacreate