(o: *mut PyObject)
| 251 | |
| 252 | #[inline] |
| 253 | pub unsafe fn PySequence_Fast_ITEMS(o: *mut PyObject) -> *mut *mut PyObject { |
| 254 | if crate::listobject::PyList_Check(o) != 0 { |
| 255 | (*(o as *mut crate::listobject::PyListObject)).ob_item |
| 256 | } else { |
| 257 | (*(o as *mut crate::tupleobject::PyTupleObject)) |
| 258 | .ob_item |
| 259 | .as_mut_ptr() |
| 260 | } |
| 261 | } |
| 262 | |
| 263 | #[inline] |
| 264 | pub unsafe fn PySequence_ITEM(o: *mut PyObject, i: Py_ssize_t) -> *mut PyObject { |
nothing calls this directly
no test coverage detected