mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
gh-110968: Py_MOD_PER_INTERPRETER_GIL_SUPPORTED was added to 3.12 (#111584)
This commit is contained in:
parent
102685c4c8
commit
ef83b3fc00
12 changed files with 23 additions and 23 deletions
|
@ -5,8 +5,8 @@ posixshmem - A Python extension that provides shm_open() and shm_unlink()
|
|||
#include "pyconfig.h" // Py_NOGIL
|
||||
|
||||
#ifndef Py_NOGIL
|
||||
// Need limited C API version 3.13 for Py_MOD_PER_INTERPRETER_GIL_SUPPORTED
|
||||
#define Py_LIMITED_API 0x030d0000
|
||||
// Need limited C API version 3.12 for Py_MOD_PER_INTERPRETER_GIL_SUPPORTED
|
||||
#define Py_LIMITED_API 0x030c0000
|
||||
#endif
|
||||
|
||||
#include <Python.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue