sdlGetWindows function
Get a list of valid windows.
\param count a pointer filled in with the number of windows returned, may be NULL. \returns a NULL terminated array of SDL_Window pointers or NULL on failure; call SDL_GetError() for more information. This is a single allocation that should be freed with SDL_free() when it is no longer needed.
\threadsafety This function should only be called on the main thread.
\since This function is available since SDL 3.1.3.
extern SDL_DECLSPEC SDL_Window ** SDLCALL SDL_GetWindows(int *count)
Implementation
Pointer<Pointer<SdlWindow>> sdlGetWindows(Pointer<Int32> count) {
final sdlGetWindowsLookupFunction = libSdl3.lookupFunction<
Pointer<Pointer<SdlWindow>> Function(Pointer<Int32> count),
Pointer<Pointer<SdlWindow>> Function(
Pointer<Int32> count)>('SDL_GetWindows');
return sdlGetWindowsLookupFunction(count);
}