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

Function PyCMethod_CheckExact

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

Source from the content-addressed store, hash-verified

15
16#[inline]
17pub unsafe fn PyCMethod_CheckExact(op: *mut PyObject) -> c_int {
18 Py_IS_TYPE(op, &raw mut PyCMethod_Type)
19}
20
21#[inline]
22pub unsafe fn PyCMethod_Check(op: *mut PyObject) -> c_int {

Callers

nothing calls this directly

Calls 1

Py_IS_TYPEFunction · 0.85

Tested by

no test coverage detected