(op: &mut *mut PyObject)
| 814 | |
| 815 | #[inline(always)] |
| 816 | pub unsafe fn Py_CLEAR(op: &mut *mut PyObject) { |
| 817 | let tmp = *op; |
| 818 | if !tmp.is_null() { |
| 819 | *op = ptr::null_mut(); |
| 820 | Py_DECREF(tmp); |
| 821 | } |
| 822 | } |
| 823 | |
| 824 | #[inline(always)] |
| 825 | pub unsafe fn Py_XINCREF(op: *mut PyObject) { |
nothing calls this directly
no test coverage detected