(py: Python<'py>, array: *mut PyArrayObject)
| 199 | } |
| 200 | |
| 201 | pub fn release<'py>(py: Python<'py>, array: *mut PyArrayObject) { |
| 202 | let shared = get_or_insert_shared(py).expect("Internal borrow checking API error"); |
| 203 | |
| 204 | unsafe { |
| 205 | (shared.release)(shared.flags, array); |
| 206 | } |
| 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"); |
no test coverage detected