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.