mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h
This commit is contained in:
parent
1a3284ed69
commit
217cfd1c86
123 changed files with 888 additions and 885 deletions
|
|
@ -74,7 +74,7 @@ static PyObject *mkspent(struct spwd *p)
|
|||
if (v == NULL)
|
||||
return NULL;
|
||||
|
||||
#define SETI(i,val) PyStructSequence_SET_ITEM(v, i, PyInt_FromLong((long) val))
|
||||
#define SETI(i,val) PyStructSequence_SET_ITEM(v, i, PyLong_FromLong((long) val))
|
||||
#define SETS(i,val) sets(v, i, val)
|
||||
|
||||
SETS(setIndex++, p->sp_namp);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue