diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2023-03-08 19:03:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-08 19:03:50 (GMT) |
commit | cbb0aa71d040022db61390380b8aebc7c04f3275 (patch) | |
tree | 9ff9e2f3141fbd5bdc2446144955722a7d63afa9 /Include/cpython | |
parent | 11a2c6ce516b24b2435cb627742a6c4df92d411c (diff) | |
download | cpython-cbb0aa71d040022db61390380b8aebc7c04f3275.zip cpython-cbb0aa71d040022db61390380b8aebc7c04f3275.tar.gz cpython-cbb0aa71d040022db61390380b8aebc7c04f3275.tar.bz2 |
gh-102304: Consolidate Direct Usage of _Py_RefTotal (gh-102514)
This simplifies further changes to _Py_RefTotal (e.g. make it atomic or move it to PyInterpreterState).
https://github.com/python/cpython/issues/102304
Diffstat (limited to 'Include/cpython')
-rw-r--r-- | Include/cpython/object.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/cpython/object.h b/Include/cpython/object.h index 3f26f24..7b687d3 100644 --- a/Include/cpython/object.h +++ b/Include/cpython/object.h @@ -3,6 +3,7 @@ #endif PyAPI_FUNC(void) _Py_NewReference(PyObject *op); +PyAPI_FUNC(void) _Py_NewReferenceNoTotal(PyObject *op); #ifdef Py_TRACE_REFS /* Py_TRACE_REFS is such major surgery that we call external routines. */ |