Add PY_SSIZE_T_MAX/PY_SSIZE_T_MIN into the conversion guide.

This commit is contained in:
Martin v. Löwis 2006-04-08 10:09:44 +00:00
parent e27dca1aaa
commit 18a98c596c
1 changed files with 2 additions and 0 deletions

View File

@ -134,6 +134,8 @@ versions can be achieved with the test::
#if PY_VERSION_HEX < 0x02050000
typedef int Py_ssize_t;
#define PY_SSIZE_T_MAX INT_MAX
#define PY_SSIZE_T_MIN INT_MIN
#endif
and then using Py_ssize_t in the rest of the code. For