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

Method buf_ptr

src/buffer.rs:182–184  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

180 /// and thus may only be accessed while the GIL is held.
181 #[inline]
182 pub fn buf_ptr(&self) -> *mut libc::c_void {
183 self.0.buf
184 }
185
186 /// Gets a pointer to the specified item.
187 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected