MCPcopy Create free account
hub / github.com/dgrunwald/rust-cpython / PyFrame_Check

Function PyFrame_Check

python3-sys/src/frameobject.rs:95–97  ·  view source on GitHub ↗
(op: *mut PyObject)

Source from the content-addressed store, hash-verified

93#[cfg(not(Py_LIMITED_API))]
94#[inline]
95pub unsafe fn PyFrame_Check(op: *mut PyObject) -> c_int {
96 (Py_TYPE(op) == &mut PyFrame_Type) as c_int
97}
98
99#[cfg(not(Py_LIMITED_API))]
100#[cfg_attr(windows, link(name = "pythonXY"))]

Callers

nothing calls this directly

Calls 1

Py_TYPEFunction · 0.70

Tested by

no test coverage detected