chickadee » sdl2 » make-event*

make-event #!optional typeprocedure
make-event* #!optional typeprocedure

Allocate and set the type of a new sdl2:event.

type defaults to 'first. It must be a event type symbol or equivalent integer.

  • make-event returns a managed sdl2:event.
  • make-event* returns an unmanaged sdl2:event, which must be freed with free-event! when you are done with it.