Skip to content

Conversation

@miss-islington
Copy link
Contributor

Use the PyObject* type for parameters of static inline functions:

  • Py_SIZE(): same parameter type than PyObject_Size()
  • PyList_GET_SIZE(), PyList_SET_ITEM(): same parameter type than
    PyList_Size() and PyList_SetItem()
  • PyTuple_GET_SIZE(), PyTuple_SET_ITEM(): same parameter type than
    PyTuple_Size() and PyTuple_SetItem().
    (cherry picked from commit 6de78ef)

Co-authored-by: Victor Stinner vstinner@python.org

…92694)

Use the PyObject* type for parameters of static inline functions:

* Py_SIZE(): same parameter type than PyObject_Size()
* PyList_GET_SIZE(), PyList_SET_ITEM(): same parameter type than
  PyList_Size() and PyList_SetItem()
* PyTuple_GET_SIZE(), PyTuple_SET_ITEM(): same parameter type than
  PyTuple_Size() and PyTuple_SetItem().
(cherry picked from commit 6de78ef)

Co-authored-by: Victor Stinner <vstinner@python.org>
@miss-islington
Copy link
Contributor Author

@vstinner: Status check is done, and it's a success ✅ .

@miss-islington
Copy link
Contributor Author

@vstinner: Status check is done, and it's a success ✅ .

1 similar comment
@miss-islington
Copy link
Contributor Author

@vstinner: Status check is done, and it's a success ✅ .

Copy link
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, good bot.

@miss-islington
Copy link
Contributor Author

@vstinner: Status check is done, and it's a success ✅ .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants