// Deallocates resources associated with a PixelIterator. func (pi *PixelIterator) Destroy() { if pi.pi == nil { return } pi.pi = C.DestroyPixelIterator(pi.pi) relinquishMemory(unsafe.Pointer(pi.pi)) pi.pi = nil }
// Deallocates resources associated with a PixelIterator. func (pi *PixelIterator) Destroy() { if pi.pi == nil { return } pi.pi = C.DestroyPixelIterator(pi.pi) C.free(unsafe.Pointer(pi.pi)) pi.pi = nil }
func (self *PixelIterator) Destroy() { C.DestroyPixelIterator(self.iterator) }