mirror of
https://github.com/python/cpython.git
synced 2025-07-24 19:54:21 +00:00
replace Py_(u)intptr_t with the c99 standard types
This commit is contained in:
parent
3c397e4c39
commit
ca47063998
21 changed files with 86 additions and 86 deletions
|
@ -1797,7 +1797,7 @@ static PyTypeObject kqueue_queue_Type;
|
|||
*/
|
||||
#if !defined(__OpenBSD__)
|
||||
# define IDENT_TYPE T_UINTPTRT
|
||||
# define IDENT_CAST Py_intptr_t
|
||||
# define IDENT_CAST intptr_t
|
||||
# define DATA_TYPE T_INTPTRT
|
||||
# define DATA_FMT_UNIT INTPTRT_FMT_UNIT
|
||||
# define IDENT_AsType PyLong_AsUintptr_t
|
||||
|
@ -1876,7 +1876,7 @@ static PyObject *
|
|||
kqueue_event_richcompare(kqueue_event_Object *s, kqueue_event_Object *o,
|
||||
int op)
|
||||
{
|
||||
Py_intptr_t result = 0;
|
||||
intptr_t result = 0;
|
||||
|
||||
if (!kqueue_event_Check(o)) {
|
||||
if (op == Py_EQ || op == Py_NE) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue