Ejemplo n.º 1
0
Archivo: audio.go Proyecto: beoran/algo
// Closes the Allegro file
func (self *File) Close() {
	if self.handle != nil {
		C.al_fclose(self.handle)
	}
	self.handle = nil
}
Ejemplo n.º 2
0
func (f *File) Fclose() {
	C.al_fclose((*C.ALLEGRO_FILE)(unsafe.Pointer(f)))
}