diff options
author | Pablo Galindo Salgado <Pablogsal@gmail.com> | 2022-07-25 22:05:27 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-25 22:05:27 (GMT) |
commit | 7f731943393d57cf26ed5f2353e6e53084cd55fd (patch) | |
tree | c8c8abdbf76cf74188d0dd7f7c775660007826c7 /Include | |
parent | 4c10dbab4e677a2aa2e37211d418293a542c3bc4 (diff) | |
download | cpython-7f731943393d57cf26ed5f2353e6e53084cd55fd.zip cpython-7f731943393d57cf26ed5f2353e6e53084cd55fd.tar.gz cpython-7f731943393d57cf26ed5f2353e6e53084cd55fd.tar.bz2 |
[3.11] GH-92678: Expose managed dict clear and visit functions (GH-95246). (#95256)
Co-authored-by: Mark Shannon <mark@hotpy.org>
Diffstat (limited to 'Include')
-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 033eaeb..b586f75 100644 --- a/Include/cpython/dictobject.h +++ b/Include/cpython/dictobject.h @@ -76,3 +76,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); |