sdlNetQuit function

void sdlNetQuit()

Deinitialize SDL_net.

You must call this when done with the library, to free internal resources. It is safe to call this when the library isn't initialized, as it will just return immediately.

Once you have as many quit calls as you have had successful calls to SDLNet_Init, the library will actually deinitialize.

\since This function is available since SDL_net 2.0.0.

extern DECLSPEC void SDLCALL SDLNet_Quit(void)

Implementation

void sdlNetQuit() {
  final sdlNetQuitLookupFunction = libSdl2Net
      .lookupFunction<Void Function(), void Function()>('SDLNet_Quit');
  return sdlNetQuitLookupFunction();
}