(func: *mut PyObject)
| 26 | #[cfg(not(GraalPy))] |
| 27 | #[inline] |
| 28 | pub unsafe fn PyCFunction_GET_FUNCTION(func: *mut PyObject) -> PyMethodDefPointer { |
| 29 | debug_assert_eq!(PyCMethod_Check(func), 1); |
| 30 | |
| 31 | let func = func.cast::<PyCFunctionObject>(); |
| 32 | (*(*func).m_ml).ml_meth |
| 33 | } |
| 34 | |
| 35 | #[cfg(not(GraalPy))] |
| 36 | #[inline] |
nothing calls this directly
no outgoing calls
no test coverage detected