func (this *Geos) DestroyCoordSeq(coordSeq *CoordSeq) { if coordSeq.v != nil { C.GEOSCoordSeq_destroy_r(this.v, coordSeq.v) coordSeq.v = nil } else { panic("double free?") } }
func cGEOSCoordSeq_destroy(s *C.GEOSCoordSequence) { handlemu.Lock() defer handlemu.Unlock() C.GEOSCoordSeq_destroy_r(handle, s) }