diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2014-01-03 20:36:49 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2014-01-03 20:36:49 (GMT) |
commit | 1c0689c613b61c8944456e78c5b592e3aaa40aba (patch) | |
tree | 7f8bb895da42b257af0ca9cbc2dd13e60abf2186 /Include/pystate.h | |
parent | a2924cabaf115169b1629424dbe71ba5a18670da (diff) | |
download | cpython-1c0689c613b61c8944456e78c5b592e3aaa40aba.zip cpython-1c0689c613b61c8944456e78c5b592e3aaa40aba.tar.gz cpython-1c0689c613b61c8944456e78c5b592e3aaa40aba.tar.bz2 |
Issue #19526: Exclude all new API from the stable ABI.
Diffstat (limited to 'Include/pystate.h')
-rw-r--r-- | Include/pystate.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/pystate.h b/Include/pystate.h index 06af808..1f3465f 100644 --- a/Include/pystate.h +++ b/Include/pystate.h @@ -236,7 +236,9 @@ PyAPI_FUNC(PyThreadState *) PyGILState_GetThisThreadState(void); /* Helper/diagnostic function - return 1 if the current thread * currently holds the GIL, 0 otherwise */ +#ifndef Py_LIMITED_API PyAPI_FUNC(int) PyGILState_Check(void); +#endif #endif /* #ifdef WITH_THREAD */ |