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

Function PyCell_GET

python27-sys/src/cellobject.rs:36–38  ·  view source on GitHub ↗
(op: *mut PyObject)

Source from the content-addressed store, hash-verified

34
35#[inline(always)]
36pub unsafe fn PyCell_GET(op: *mut PyObject) -> *mut PyObject {
37 (*(op as *mut PyCellObject)).ob_ref
38}
39
40#[inline(always)]
41pub unsafe fn PyCell_SET(op: *mut PyObject, obj: *mut PyObject) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected