(op: &mut *mut PyObject)
| 915 | |
| 916 | #[inline(always)] |
| 917 | pub unsafe fn Py_CLEAR(op: &mut *mut PyObject) { |
| 918 | let tmp = *op; |
| 919 | if !tmp.is_null() { |
| 920 | *op = ptr::null_mut(); |
| 921 | Py_DECREF(tmp); |
| 922 | } |
| 923 | } |
| 924 | |
| 925 | #[inline(always)] |
| 926 | pub unsafe fn Py_XINCREF(op: *mut PyObject) { |
nothing calls this directly
no test coverage detected