Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
162
impl 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_ref
Method · 0.45
run_code
Method · 0.45
Calls
1
as_object
Method · 0.45
Tested by
no test coverage detected