[][src]Function sdl2_sys::SDL_RegisterEvents

pub unsafe extern "C" fn SDL_RegisterEvents(numevents: c_int) -> Uint32

This function allocates a set of user-defined events, and returns the beginning event number for that set of events.

If there aren't enough user-defined events left, this function returns (Uint32)-1