pub unsafe extern "C" fn SDL_RegisterEvents(numevents: c_int) -> u32
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 u32::MAX