MCPcopy Create free account
hub / github.com/PyO3/pyo3 / PyCFunction_CheckExact

Function PyCFunction_CheckExact

pyo3-ffi/src/methodobject.rs:33–35  ·  view source on GitHub ↗
(op: *mut PyObject)

Source from the content-addressed store, hash-verified

31#[cfg(not(RustPython))]
32#[inline]
33pub unsafe fn PyCFunction_CheckExact(op: *mut PyObject) -> c_int {
34 Py_IS_TYPE(op, &raw mut PyCFunction_Type)
35}
36
37#[cfg(not(RustPython))]
38#[inline]

Callers

nothing calls this directly

Calls 1

Py_IS_TYPEFunction · 0.85

Tested by

no test coverage detected