Function pyo3::impl_::pyclass::free_with_freelist
source · pub unsafe extern "C" fn free_with_freelist<T: PyClassWithFreeList>(
obj: *mut c_void
)
Expand description
Implementation of tp_free for freelist
classes.
§Safety
obj
must be a valid pointer to an instance of T (not a subclass).- The GIL must be held.