// PushEvent adds an event to the event queue.
// (https://wiki.libsdl.org/SDL_PushEvent)
PushEvent adds an event to the event queue.
// PushEvent adds an event to the event queue . // ( https : // wiki . libsdl . org / SDL_PushEvent )
func PushEvent(event Event) (filtered bool, err error) {
	_event := (*C.SDL_Event)(unsafe.Pointer(cEvent(event)))
	if ok := int(C.SDL_PushEvent(_event)); ok < 0 {
		filtered, err = false, GetError()
	} else if ok == 0 {
		filtered, err = true, nil
	}
	return
}
func PushEvent ( event Event ) ( filtered bool , err error ) { _event := ( * C . SDL_Event ) ( unsafe . Pointer ( cEvent ( event ) ) ) if ok := int ( C . SDL_PushEvent ( _event ) ) ; ok < 0 { filtered , err = false , GetError ( ) } else if ok == 0 { filtered , err = true , nil } return }
PushEvent adds an event to the event queue.
PushEvent adds an event to the event queue .