diff options
author | Victor Stinner <vstinner@python.org> | 2021-09-17 12:09:14 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-17 12:09:14 (GMT) |
commit | 6b413551284a94cfe31377c9c607ff890aa06c26 (patch) | |
tree | f113db6c256f4d8565d53b2dbdc6b29019e2d38a /Misc | |
parent | 064464fc38269e70f7e3a34cb25fc9085ab85782 (diff) | |
download | cpython-6b413551284a94cfe31377c9c607ff890aa06c26.zip cpython-6b413551284a94cfe31377c9c607ff890aa06c26.tar.gz cpython-6b413551284a94cfe31377c9c607ff890aa06c26.tar.bz2 |
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/C API/2021-09-16-18-05-20.bpo-45116.WxXewl.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2021-09-16-18-05-20.bpo-45116.WxXewl.rst b/Misc/NEWS.d/next/C API/2021-09-16-18-05-20.bpo-45116.WxXewl.rst new file mode 100644 index 0000000..cf3db5c --- /dev/null +++ b/Misc/NEWS.d/next/C API/2021-09-16-18-05-20.bpo-45116.WxXewl.rst @@ -0,0 +1,3 @@ +Add the :c:macro:`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. Patch by Victor Stinner. |