// Destroys a bitmap. Use this only when really needed! func (self *Bitmap) Destroy() { if self.handle != nil { C.al_destroy_bitmap(self.handle) } self.handle = nil }
func (b *Bitmap) Destroy() { C.al_destroy_bitmap((*C.ALLEGRO_BITMAP)(b)) }
func (b *Bitmap) Destroy() { C.al_destroy_bitmap((*C.ALLEGRO_BITMAP)(unsafe.Pointer(b))) }