pub unsafe extern "C" fn SDL_GetVersion(ver: *mut SDL_version)
Expand description

Get the version of SDL that is being used at runtime.

It is possible that the runtime SDL version will be higher than the version you compiled against. In this case, the version will still be ABI compatible with the version you targeted at compile time.

This function may be called safely at any time, even before SDL_Init.