Пример #1
0
// Closes the Allegro file
func (self *File) Close() {
	if self.handle != nil {
		C.al_fclose(self.handle)
	}
	self.handle = nil
}
Пример #2
0
func (f *File) Fclose() {
	C.al_fclose((*C.ALLEGRO_FILE)(unsafe.Pointer(f)))
}