sdlNetVersion function

int sdlNetVersion()

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

\returns SDL_net version.

\since This function is available since SDL_net 3.0.0.

extern SDL_DECLSPEC int SDLCALL SDLNet_Version(void)

Implementation

int sdlNetVersion() {
  final sdlNetVersionLookupFunction = libSdl3Net
      .lookupFunction<Int32 Function(), int Function()>('SDLNet_Version');
  return sdlNetVersionLookupFunction();
}