func (d *Display) GetEventSource() *EventSource { var es *C.ALLEGRO_EVENT_SOURCE src_ptr := C.al_get_display_event_source((*C.ALLEGRO_DISPLAY)(d)) es = src_ptr return createEventSource(es) }
func (d *Display) GetEventSource() *EventSource { return (*EventSource)(unsafe.Pointer(C.al_get_display_event_source((*C.ALLEGRO_DISPLAY)(unsafe.Pointer(d))))) }
// Gets the event source of the display to registeron an event queue // with RegisterEventSource. func (self *Display) GetEventSource() *EventSource { return (*EventSource)(C.al_get_display_event_source(self.handle)) }