Skip to content
Snippets Groups Projects
Unverified Commit 131801d1 authored by Victor Stinner's avatar Victor Stinner Committed by GitHub
Browse files

gh-99845: PEP 670: Convert PyObject macros to functions (#99850)

Convert macros to static inline functions to avoid macro pitfalls,
like duplication of side effects:

* _PyObject_SIZE()
* _PyObject_VAR_SIZE()

The result type is size_t (unsigned).
parent 85dd6cb6
Branches
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment