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

Method as_ptr

src/python.rs:164–166  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

162impl ToPythonPointer for PyObject {
163 #[inline]
164 fn as_ptr(&self) -> *mut ffi::PyObject {
165 self.as_ptr()
166 }
167
168 #[inline]
169 fn steal_ptr(self, _py: Python) -> *mut ffi::PyObject {

Callers 2

clone_refMethod · 0.45
run_codeMethod · 0.45

Calls 1

as_objectMethod · 0.45

Tested by

no test coverage detected