mirror of
https://github.com/python/cpython.git
synced 2026-06-28 03:41:13 +00:00
Remove unused internal _Py_REF_IS_QUEUED() function (#151236)
This commit is contained in:
parent
2d3381035d
commit
82956594bb
1 changed files with 0 additions and 6 deletions
|
|
@ -266,12 +266,6 @@ _Py_REF_IS_MERGED(Py_ssize_t ob_ref_shared)
|
|||
return (ob_ref_shared & _Py_REF_SHARED_FLAG_MASK) == _Py_REF_MERGED;
|
||||
}
|
||||
|
||||
static inline int
|
||||
_Py_REF_IS_QUEUED(Py_ssize_t ob_ref_shared)
|
||||
{
|
||||
return (ob_ref_shared & _Py_REF_SHARED_FLAG_MASK) == _Py_REF_QUEUED;
|
||||
}
|
||||
|
||||
// Merge the local and shared reference count fields and add `extra` to the
|
||||
// refcount when merging.
|
||||
Py_ssize_t _Py_ExplicitMergeRefcount(PyObject *op, Py_ssize_t extra);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue