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