Пример #1
0
func (s *Shape) Free() {
	delete(shapeLookup, s.CPShape)
	C.cpShapeFree(s.CPShape)
	s.CPShape = nil
}
Пример #2
0
// Free removes a shape.
func (s shapeBase) Free() {
	C.cpShapeFree(s.c())
}
Пример #3
0
func (s *Shape) Free() {
	C.cpShapeFree(s.shape)
}