Function sdl2_sys::SDL_RegisterEvents [−][src]
pub unsafe extern "C" fn SDL_RegisterEvents(
numevents: c_int
) -> Uint32
Expand description
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