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

brandtbucher webhook-mailer at python.org
Fri May 12 17:27:09 EDT 2023


https://github.com/python/cpython/commit/a10b026f0fdceac42c4b928917894d77da996555
commit: a10b026f0fdceac42c4b928917894d77da996555
branch: main
author: Brandt Bucher <brandtbucher at microsoft.com>
committer: brandtbucher <brandtbucher at gmail.com>
date: 2023-05-12T14:26:54-07:00
summary:

GH-94841: Fix usage of Py_ALWAYS_INLINE (GH-104409)

files:
M Objects/obmalloc.c

diff --git a/Objects/obmalloc.c b/Objects/obmalloc.c
index de62aeb04461..090129fe8653 100644
--- a/Objects/obmalloc.c
+++ b/Objects/obmalloc.c
@@ -882,7 +882,7 @@ _Py_GetGlobalAllocatedBlocks(void)
 
 /* 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(OMState *state, pymem_block *p, int create)
 {
 #ifdef USE_INTERIOR_NODES



More information about the Python-checkins mailing list