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 /Modules/_testcapimodule.c | |
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 'Modules/_testcapimodule.c')
-rw-r--r-- | Modules/_testcapimodule.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c index 290797f..8d2cf31 100644 --- a/Modules/_testcapimodule.c +++ b/Modules/_testcapimodule.c @@ -98,14 +98,14 @@ test_sizeof_c_types(PyObject *self) CHECK_SIGNNESS(Py_UCS1, 0); CHECK_SIGNNESS(Py_UCS2, 0); CHECK_SIGNNESS(Py_UCS4, 0); - CHECK_SIZEOF(PY_INT32_T, 4); - CHECK_SIGNNESS(PY_INT32_T, 1); - CHECK_SIZEOF(PY_UINT32_T, 4); - CHECK_SIGNNESS(PY_UINT32_T, 0); - CHECK_SIZEOF(PY_INT64_T, 8); - CHECK_SIGNNESS(PY_INT64_T, 1); - CHECK_SIZEOF(PY_UINT64_T, 8); - CHECK_SIGNNESS(PY_UINT64_T, 0); + CHECK_SIZEOF(int32_t, 4); + CHECK_SIGNNESS(int32_t, 1); + CHECK_SIZEOF(uint32_t, 4); + CHECK_SIGNNESS(uint32_t, 0); + CHECK_SIZEOF(int64_t, 8); + CHECK_SIGNNESS(int64_t, 1); + CHECK_SIZEOF(uint64_t, 8); + CHECK_SIGNNESS(uint64_t, 0); /* pointer/size types */ CHECK_SIZEOF(size_t, sizeof(void *)); |