// WaitEventTimeout waits until the specified timeout (in milliseconds) for the next available event.
// (https://wiki.libsdl.org/SDL_WaitEventTimeout)
WaitEventTimeout waits until the specified timeout (in milliseconds) for the next available event.
// WaitEventTimeout waits until the specified timeout ( in milliseconds ) for the next available event . // ( https : // wiki . libsdl . org / SDL_WaitEventTimeout )
func WaitEventTimeout(timeout int) Event {
	var cevent CEvent
	_event := (*C.SDL_Event)(unsafe.Pointer(&cevent))
	ok := int(C.SDL_WaitEventTimeout(_event, C.int(timeout)))
	if ok == 0 {
		return nil
	}
	return goEvent(&cevent)
}
func WaitEventTimeout ( timeout int ) Event { var cevent CEvent _event := ( * C . SDL_Event ) ( unsafe . Pointer ( & cevent ) ) ok := int ( C . SDL_WaitEventTimeout ( _event , C . int ( timeout ) ) ) if ok == 0 { return nil } return goEvent ( & cevent ) }
WaitEventTimeout waits until the specified timeout (in milliseconds) for the next available event.
WaitEventTimeout waits until the specified timeout ( in milliseconds ) for the next available event .