diff options
| author | Mark Shannon <mark@hotpy.org> | 2022-07-25 22:30:53 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-25 22:30:53 +0100 |
| commit | 27055d766ab0ee5ddcfbd1fb51fb47419af1ddba (patch) | |
| tree | 0e9f2ca9f0a8eac1e354e357aa7cee4581578e1e /Include/cpython | |
| parent | 2d26449b06f310d72eb7df58a7133a16d47d30ed (diff) | |
| download | cpython-git-27055d766ab0ee5ddcfbd1fb51fb47419af1ddba.tar.gz | |
GH-92678: Expose managed dict clear and visit functions (#95246)
Diffstat (limited to 'Include/cpython')
| -rw-r--r-- | Include/cpython/dictobject.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Include/cpython/dictobject.h b/Include/cpython/dictobject.h index 565ad791a6..c2e4a46e76 100644 --- a/Include/cpython/dictobject.h +++ b/Include/cpython/dictobject.h @@ -83,3 +83,6 @@ typedef struct { PyAPI_FUNC(PyObject *) _PyDictView_New(PyObject *, PyTypeObject *); PyAPI_FUNC(PyObject *) _PyDictView_Intersect(PyObject* self, PyObject *other); + +PyAPI_FUNC(int) _PyObject_VisitManagedDict(PyObject *self, visitproc visit, void *arg); +PyAPI_FUNC(void) _PyObject_ClearManagedDict(PyObject *self); |
