ffi.gc(ptr, None) removes the destructor on a ffi.gc()
Created originally on Bitbucket by amauryfa (Amaury Forgeot d'Arc)
Was already merged in Bitbucket before import, marked as merged by the import user
- Add
ffi.gc(ptr, None)
which removes the destructor in-place on affi.gc()
object. - Implement
backend.gcp()
for the ctypes backend, and remove gc_weakref.