diff options
author | Jurica Bradarić <jbradaric@users.noreply.github.com> | 2023-05-02 11:38:46 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-02 11:38:46 (GMT) |
commit | 87223f32aba872cfebde6fbe38673799eb79f248 (patch) | |
tree | c75eeb511663531c2a822e3814877c1bd4fc62c4 /Include | |
parent | f6314b92dcfc8ca6ff3fd150814f85448db69165 (diff) | |
download | cpython-87223f32aba872cfebde6fbe38673799eb79f248.zip cpython-87223f32aba872cfebde6fbe38673799eb79f248.tar.gz cpython-87223f32aba872cfebde6fbe38673799eb79f248.tar.bz2 |
gh-103743: Add PyUnstable_Object_GC_NewWithExtraData (GH-103744)
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Diffstat (limited to 'Include')
-rw-r--r-- | Include/cpython/objimpl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Include/cpython/objimpl.h b/Include/cpython/objimpl.h index 0b038d3..5a8cdd5 100644 --- a/Include/cpython/objimpl.h +++ b/Include/cpython/objimpl.h @@ -90,3 +90,6 @@ PyAPI_FUNC(int) PyObject_IS_GC(PyObject *obj); PyAPI_FUNC(int) PyType_SUPPORTS_WEAKREFS(PyTypeObject *type); PyAPI_FUNC(PyObject **) PyObject_GET_WEAKREFS_LISTPTR(PyObject *op); + +PyAPI_FUNC(PyObject *) PyUnstable_Object_GC_NewWithExtraData(PyTypeObject *, + size_t); |