Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dgrunwald/rust-cpython
/ PyCell_Check
Function
PyCell_Check
python27-sys/src/cellobject.rs:24–26 ·
view source on GitHub ↗
(op: *mut PyObject)
Source
from the content-addressed store, hash-verified
22
23
#[inline(always)]
24
pub unsafe fn PyCell_Check(op: *mut PyObject) -> c_int {
25
(Py_TYPE(op) == &mut PyCell_Type) as c_int
26
}
27
28
#[cfg_attr(windows, link(name =
"pythonXY"
))]
29
extern
"C"
{
Callers
nothing calls this directly
Calls
1
Py_TYPE
Function · 0.70
Tested by
no test coverage detected