sdlDestroyWindow function
Destroy a window.
Any child windows owned by the window will be recursively destroyed as well.
\param window the window to destroy.
\threadsafety This function should only be called on the main thread.
\since This function is available since SDL 3.1.3.
\sa SDL_CreatePopupWindow \sa SDL_CreateWindow \sa SDL_CreateWindowWithProperties
extern SDL_DECLSPEC void SDLCALL SDL_DestroyWindow(SDL_Window *window)
Implementation
void sdlDestroyWindow(Pointer<SdlWindow> window) {
final sdlDestroyWindowLookupFunction = libSdl3.lookupFunction<
Void Function(Pointer<SdlWindow> window),
void Function(Pointer<SdlWindow> window)>('SDL_DestroyWindow');
return sdlDestroyWindowLookupFunction(window);
}