Exemplo n.º 1
0
Arquivo: al.go Projeto: beoran/algo
// Unregister an event source with self.
func (self *EventQueue) UnregisterEventSource(src *EventSource) {
	C.al_unregister_event_source(self.handle, src.toC())
}
Exemplo n.º 2
0
func (e *EventQueue) UnregisterEventSource(source *EventSource) {
	C.al_unregister_event_source((*C.ALLEGRO_EVENT_QUEUE)(unsafe.Pointer(e)), (*C.ALLEGRO_EVENT_SOURCE)(unsafe.Pointer(source)))
}