netQuit function net

void netQuit()

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 NET_Init was successfully called.

Once you have successfully deinitialized the library, it is safe to call NET_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 NET_Init

extern SDL_DECLSPEC void SDLCALL NET_Quit(void)

Implementation

void netQuit() {
  final netQuitLookupFunction = _libNet
      .lookupFunction<Void Function(), void Function()>('NET_Quit');
  return netQuitLookupFunction();
}