diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-04-26 00:32:01 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-26 00:32:01 (GMT) |
commit | 9db0324712f6982d89620b420f507a6aa5da152f (patch) | |
tree | cf45edb92c5dc5671d9d139c4fc339885d55a91a /Include | |
parent | 10c8e6af910e3a26e59f913a3c1e4830ca71b1af (diff) | |
download | cpython-9db0324712f6982d89620b420f507a6aa5da152f.zip cpython-9db0324712f6982d89620b420f507a6aa5da152f.tar.gz cpython-9db0324712f6982d89620b420f507a6aa5da152f.tar.bz2 |
bpo-36710: Add runtime parameter in gcmodule.c (GH-12958)
Add 'state' or 'runtime' parameter to functions in gcmodule.c to
avoid to rely directly on the global variable _PyRuntime.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/internal/pycore_pylifecycle.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/internal/pycore_pylifecycle.h b/Include/internal/pycore_pylifecycle.h index 69709b1..24847f4 100644 --- a/Include/internal/pycore_pylifecycle.h +++ b/Include/internal/pycore_pylifecycle.h @@ -83,7 +83,7 @@ extern void _PyGILState_Init( PyThreadState *tstate); extern void _PyGILState_Fini(_PyRuntimeState *runtime); -PyAPI_FUNC(void) _PyGC_DumpShutdownStats(void); +PyAPI_FUNC(void) _PyGC_DumpShutdownStats(_PyRuntimeState *runtime); PyAPI_FUNC(_PyInitError) _Py_PreInitializeFromCoreConfig( const _PyCoreConfig *coreconfig); |