(func: *mut PyObject)
| 96 | #[inline] |
| 97 | #[cfg(all(not(PyPy), not(GraalPy)))] |
| 98 | pub unsafe fn _PyFunction_CAST(func: *mut PyObject) -> *mut PyFunctionObject { |
| 99 | assert_eq!(PyFunction_Check(func), 1); |
| 100 | func.cast::<PyFunctionObject>() |
| 101 | } |
| 102 | |
| 103 | #[inline] |
| 104 | #[cfg(all(not(PyPy), not(GraalPy)))] |
no outgoing calls
no test coverage detected