mixVersion function

int mixVersion()

This function gets the version of the dynamically linked SDL_mixer library.

\returns SDL_mixer version.

\since This function is available since SDL_mixer 3.0.0.

extern SDL_DECLSPEC int SDLCALL Mix_Version(void)

Implementation

int mixVersion() {
  final mixVersionLookupFunction = libSdl3Mixer
      .lookupFunction<Int32 Function(), int Function()>('Mix_Version');
  return mixVersionLookupFunction();
}