]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45116: Add the Py_ALWAYS_INLINE macro (GH-28390)
authorVictor Stinner <vstinner@python.org>
Fri, 17 Sep 2021 12:09:14 +0000 (14:09 +0200)
committerGitHub <noreply@github.com>
Fri, 17 Sep 2021 12:09:14 +0000 (14:09 +0200)
commit6b413551284a94cfe31377c9c607ff890aa06c26
treef113db6c256f4d8565d53b2dbdc6b29019e2d38a
parent064464fc38269e70f7e3a34cb25fc9085ab85782
bpo-45116: Add the Py_ALWAYS_INLINE macro (GH-28390)

Add the Py_ALWAYS_INLINE macro to ask the compiler to always inline a
static inline function. The compiler can ignore it and decides to not
inline the function.
Doc/c-api/intro.rst
Include/pyport.h
Misc/NEWS.d/next/C API/2021-09-16-18-05-20.bpo-45116.WxXewl.rst [new file with mode: 0644]