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

Function PyMemoryView_GET_BASE

python27-sys/src/memoryobject.rs:23–25  ·  view source on GitHub ↗
(op: *mut PyObject)

Source from the content-addressed store, hash-verified

21
22#[inline(always)]
23pub unsafe fn PyMemoryView_GET_BASE(op: *mut PyObject) -> *mut PyObject {
24 (*(op as *mut PyMemoryViewObject)).view.obj
25}
26
27#[cfg_attr(windows, link(name = "pythonXY"))]
28extern "C" {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected