Skip to content
Tangent 128 edited this page Mar 28, 2015 · 3 revisions

SDL.registerEvents

Use this function to allocate a set of user-defined events, and return the beginning event number for that set of events.

Function

SYNOPSIS

function SDL.registerEvents(num)

ARGUMENTS

  • num, the number of events to allocate

RETURNS

  • the beginning event number on success or nil
  • the error message
Clone this wiki locally