Function sdl2_sys::SDL_RegisterEvents
source · [−]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