(py: Python<'py>, array: *mut PyArrayObject)
| 207 | } |
| 208 | |
| 209 | pub fn release_mut<'py>(py: Python<'py>, array: *mut PyArrayObject) { |
| 210 | let shared = get_or_insert_shared(py).expect("Internal borrow checking API error"); |
| 211 | |
| 212 | unsafe { |
| 213 | (shared.release_mut)(shared.flags, array); |
| 214 | } |
| 215 | } |
| 216 | |
| 217 | #[derive(Clone, Copy, PartialEq, Eq, Hash)] |
| 218 | struct BorrowKey { |
no test coverage detected