mirror of
https://github.com/python/cpython
synced 2026-09-29 09:00:29 +03:00
#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT.
This commit is contained in:
parent
99170a5dbf
commit
90aa7646af
144 changed files with 1306 additions and 1153 deletions
|
|
@ -16,7 +16,7 @@ typedef struct {
|
|||
|
||||
PyAPI_DATA(PyTypeObject) PyMemoryView_Type;
|
||||
|
||||
#define PyMemory_Check(op) (Py_Type(op) == &PyMemoryView_Type)
|
||||
#define PyMemory_Check(op) (Py_TYPE(op) == &PyMemoryView_Type)
|
||||
#define PyMemoryView(op) (((PyMemoryViewObject *)(op))->view)
|
||||
|
||||
#define Py_END_OF_MEMORY (-1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue