Enable PY_USE_INT_WHEN_POSSIBLE in struct

This commit is contained in:
Bob Ippolito 2006-05-26 14:29:35 +00:00
parent 685dda8b95
commit 1d2b0e3f61

View file

@ -16,12 +16,10 @@ typedef int Py_ssize_t;
#endif
/* PY_USE_INT_WHEN_POSSIBLE is an experimental flag that changes the
/* PY_USE_INT_WHEN_POSSIBLE is a flag that changes the
struct API to return int instead of long when possible. This is
often a significant performance improvement. */
/*
#define PY_USE_INT_WHEN_POSSIBLE 1
*/
/* PY_STRUCT_RANGE_CHECKING performs range checking on all arguments
to be packed. This will break some incorrect code that happened