diff options
author | Benjamin Peterson <benjamin@python.org> | 2016-09-06 20:24:00 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2016-09-06 20:24:00 (GMT) |
commit | 9b3d77052f58858ebe1f6ff0dd8dc1caf933cd62 (patch) | |
tree | 8a2fc78befc25702a9bf1f474644ef2ed2367138 /Include/longintrepr.h | |
parent | 88bd3edb3e533ca426d633b97fad91d82aeb2b34 (diff) | |
download | cpython-9b3d77052f58858ebe1f6ff0dd8dc1caf933cd62.zip cpython-9b3d77052f58858ebe1f6ff0dd8dc1caf933cd62.tar.gz cpython-9b3d77052f58858ebe1f6ff0dd8dc1caf933cd62.tar.bz2 |
replace Python aliases for standard integer types with the standard integer types (#17884)
Diffstat (limited to 'Include/longintrepr.h')
-rw-r--r-- | Include/longintrepr.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Include/longintrepr.h b/Include/longintrepr.h index 1296849..a3b74b4 100644 --- a/Include/longintrepr.h +++ b/Include/longintrepr.h @@ -42,10 +42,10 @@ extern "C" { */ #if PYLONG_BITS_IN_DIGIT == 30 -typedef PY_UINT32_T digit; -typedef PY_INT32_T sdigit; /* signed variant of digit */ -typedef PY_UINT64_T twodigits; -typedef PY_INT64_T stwodigits; /* signed variant of twodigits */ +typedef uint32_t digit; +typedef int32_t sdigit; /* signed variant of digit */ +typedef uint64_t twodigits; +typedef int64_t stwodigits; /* signed variant of twodigits */ #define PyLong_SHIFT 30 #define _PyLong_DECIMAL_SHIFT 9 /* max(e such that 10**e fits in a digit) */ #define _PyLong_DECIMAL_BASE ((digit)1000000000) /* 10 ** DECIMAL_SHIFT */ |