(o: *mut PyObject)
| 152 | #[cfg(all(not(Py_LIMITED_API), not(Py_3_8)))] |
| 153 | #[inline] |
| 154 | pub unsafe fn PyIndex_Check(o: *mut PyObject) -> c_int { |
| 155 | let tp_as_number = (*(*o).ob_type).tp_as_number; |
| 156 | (!tp_as_number.is_null() && (*tp_as_number).nb_index.is_some()) as c_int |
| 157 | } |
| 158 | |
| 159 | #[cfg_attr(windows, link(name = "pythonXY"))] |
| 160 | extern "C" { |
nothing calls this directly
no outgoing calls
no test coverage detected