(op: *mut PyObject, i: Py_ssize_t, v: *mut PyObject)
| 49 | /// Macro, *only* to be used to fill in brand new tuples |
| 50 | #[inline(always)] |
| 51 | pub unsafe fn PyTuple_SET_ITEM(op: *mut PyObject, i: Py_ssize_t, v: *mut PyObject) { |
| 52 | *(*(op as *mut PyTupleObject)) |
| 53 | .ob_item |
| 54 | .as_mut_ptr() |
| 55 | .offset(i as isize) = v; |
| 56 | } |
| 57 | |
| 58 | #[cfg_attr(windows, link(name = "pythonXY"))] |
| 59 | extern "C" { |
nothing calls this directly
no outgoing calls
no test coverage detected