1 | #[cfg(not(PyPy))] |
---|---|
2 | pub struct _PyWeakReference { |
3 | pub ob_base: crate::PyObject, |
4 | pub wr_object: *mut crate::PyObject, |
5 | pub wr_callback: *mut crate::PyObject, |
6 | pub hash: crate::Py_hash_t, |
7 | pub wr_prev: *mut crate::PyWeakReference, |
8 | pub wr_next: *mut crate::PyWeakReference, |
9 | #[cfg(Py_3_11)] |
10 | pub vectorcall: Option<crate::vectorcallfunc>, |
11 | } |
12 | |
13 | // skipped _PyWeakref_GetWeakrefCount |
14 | // skipped _PyWeakref_ClearRef |
15 | // skipped PyWeakRef_GET_OBJECT |
16 |