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

Method release_ref

src/buffer.rs:605–607  ·  view source on GitHub ↗
(mut self, _py: Python)

Source from the content-addressed store, hash-verified

603impl PyDrop for PyBuffer {
604 #[inline]
605 fn release_ref(mut self, _py: Python) {
606 unsafe { ffi::PyBuffer_Release(&mut *self.0) }
607 }
608}
609
610impl Drop for PyBuffer {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected