[Python-checkins] [3.11] GH-94841: Fix usage of Py_ALWAYS_INLINE (GH-104439)

brandtbucher webhook-mailer at python.org
Fri May 12 18:06:39 EDT 2023


https://github.com/python/cpython/commit/b90c922f3f852b51b11de19d73015e3eb64293f4
commit: b90c922f3f852b51b11de19d73015e3eb64293f4
branch: 3.11
author: Brandt Bucher <brandtbucher at microsoft.com>
committer: brandtbucher <brandtbucher at gmail.com>
date: 2023-05-12T22:06:29Z
summary:

[3.11] GH-94841: Fix usage of Py_ALWAYS_INLINE (GH-104439)

files:
M Objects/obmalloc.c

diff --git a/Objects/obmalloc.c b/Objects/obmalloc.c
index fae9c8110f19..b9529e418d4f 100644
--- a/Objects/obmalloc.c
+++ b/Objects/obmalloc.c
@@ -1445,7 +1445,7 @@ static arena_map_bot_t arena_map_root;
 
 /* Return a pointer to a bottom tree node, return NULL if it doesn't exist or
  * it cannot be created */
-static Py_ALWAYS_INLINE arena_map_bot_t *
+static inline Py_ALWAYS_INLINE arena_map_bot_t *
 arena_map_get(block *p, int create)
 {
 #ifdef USE_INTERIOR_NODES



More information about the Python-checkins mailing list