mirror of
https://github.com/python/cpython.git
synced 2025-08-01 15:43:13 +00:00
Enable PY_USE_INT_WHEN_POSSIBLE in struct
This commit is contained in:
parent
685dda8b95
commit
1d2b0e3f61
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue