Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dgrunwald/rust-cpython
/ PyMemoryView_Check
Function
PyMemoryView_Check
python3-sys/src/memoryobject.rs:13–15 ·
view source on GitHub ↗
(op: *mut PyObject)
Source
from the content-addressed store, hash-verified
11
12
#[inline(always)]
13
pub unsafe fn PyMemoryView_Check(op: *mut PyObject) -> c_int {
14
(Py_TYPE(op) == &mut PyMemoryView_Type) as c_int
15
}
16
17
#[cfg_attr(windows, link(name =
"pythonXY"
))]
18
extern
"C"
{
Callers
nothing calls this directly
Calls
1
Py_TYPE
Function · 0.70
Tested by
no test coverage detected