Skip to content

Check for 'static inline' - #206

Merged
vstinner merged 8 commits into
python:mainfrom
vstinner:check_static_inline
Oct 16, 2026
Merged

vstinner merged 8 commits into
python:mainfrom
vstinner:check_static_inline

Conversation

@vstinner

Copy link
Copy Markdown
Member

Build a C extension with two C files to check that all pythoncapi_compat.h functions are declared with "static inline".

Build a C extension with two C files to check that all
pythoncapi_compat.h functions are declared with "static inline".
On PyPy, don't define PyVectorcall_NARGS() and PyObject_Vectorcall()
when targeting the limited C API. PyPy always define these functions,
even if Py_LIMITED_API macro is defined.
This reverts commit 316fc01.
@vstinner
vstinner merged commit b8fe76f into python:main Oct 16, 2026
44 checks passed
@vstinner
vstinner deleted the check_static_inline branch October 16, 2026 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant