sdlNetQuit function

void sdlNetQuit()

Deinitialize the SDL_net library.

This must be called when done with the library, probably at the end of your program.

It is safe to call this multiple times; the library will only deinitialize once, when this function is called the same number of times as SDLNet_Init was successfully called.

Once you have successfully deinitialized the library, it is safe to call SDLNet_Init to reinitialize it for further use.

\threadsafety It is safe to call this function from any thread.

\since This function is available since SDL_Net 3.0.0.

\sa SDLNet_Quit

extern SDL_DECLSPEC void SDLCALL SDLNet_Quit(void)

Implementation

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