diff options
| author | Mark Shannon <mark@hotpy.org> | 2022-08-01 14:34:54 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-01 14:34:54 +0100 |
| commit | de388c0a7b71c094d36ce40fecef87bdbb8a87d3 (patch) | |
| tree | b2318318e6c9a80bc9f45ecf5fc05aa66efb7825 /Include/cpython/object.h | |
| parent | fb75d015f487e50079e8d2ea7859750684b124e4 (diff) | |
| download | cpython-git-de388c0a7b71c094d36ce40fecef87bdbb8a87d3.tar.gz | |
GH-95245: Store object values and dict pointers in single tagged pointer. (GH-95278)
Diffstat (limited to 'Include/cpython/object.h')
| -rw-r--r-- | Include/cpython/object.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/cpython/object.h b/Include/cpython/object.h index 026803320a..60c7c3e2aa 100644 --- a/Include/cpython/object.h +++ b/Include/cpython/object.h @@ -510,3 +510,7 @@ Py_DEPRECATED(3.11) typedef int UsingDeprecatedTrashcanMacro; #define Py_TRASHCAN_SAFE_END(op) \ Py_TRASHCAN_END; \ } while(0); + + +PyAPI_FUNC(int) _PyObject_VisitManagedDict(PyObject *obj, visitproc visit, void *arg); +PyAPI_FUNC(void) _PyObject_ClearManagedDict(PyObject *obj); |
