pub fn version() -> Version {
  let mut sdl_version = SDL_version::default();
  unsafe { SDL_GetVersion(&mut sdl_version) };
  Version::from(sdl_version)
}
/// Gets the version of SDL2 being used at runtime.
///
/// This might be later than the one you compiled with, but it will be fully
/// SemVer compatible.
///
/// ```rust
/// let v = beryllium::version();
/// assert_eq!(v.major, 2);
/// assert!(v.minor >= 0);
/// assert!(v.patch >= 9);
/// ```
Gets the version of SDL2 being used at runtime.
This might be later than the one you compiled with, but it will be fully
SemVer compatible.


Gets the version of SDL2 being used at runtime . This might be later than the one you compiled with but it will be fully SemVer compatible .
pub fn version() -> Version {
  let mut sdl_version = SDL_version::default();
  unsafe { SDL_GetVersion(&mut sdl_version) };
  Version::from(sdl_version)
}
pub fn version ( ) -> Version { let mut sdl_version = SDL_version :: default ( ) ; unsafe { SDL_GetVersion ( & mut sdl_version ) } ; Version :: from ( sdl_version ) }
Gets the version of SDL2 being used at runtime.
Gets the version of SDL2 being used at runtime .