sdlDestroyWindow function
Destroy a window.
If window
is NULL, this function will return immediately after setting
the SDL error message to "Invalid window". See SDL_GetError().
\param window the window to destroy
\since This function is available since SDL 2.0.0.
\sa SDL_CreateWindow \sa SDL_CreateWindowFrom
extern DECLSPEC void SDLCALL SDL_DestroyWindow(SDL_Window * window)
Implementation
void sdlDestroyWindow(Pointer<SdlWindow> window) {
final sdlDestroyWindowLookupFunction = libSdl2.lookupFunction<
Void Function(Pointer<SdlWindow> window),
void Function(Pointer<SdlWindow> window)>('SDL_DestroyWindow');
return sdlDestroyWindowLookupFunction(window);
}