sdlDestroyCursor function
Free a previously-created cursor.
Use this function to free cursor resources created with SDL_CreateCursor(), SDL_CreateColorCursor() or SDL_CreateSystemCursor().
\param cursor the cursor to free.
\threadsafety This function should only be called on the main thread.
\since This function is available since SDL 3.1.3.
\sa SDL_CreateColorCursor \sa SDL_CreateCursor \sa SDL_CreateSystemCursor
extern SDL_DECLSPEC void SDLCALL SDL_DestroyCursor(SDL_Cursor *cursor)
Implementation
void sdlDestroyCursor(Pointer<SdlCursor> cursor) {
final sdlDestroyCursorLookupFunction = libSdl3.lookupFunction<
Void Function(Pointer<SdlCursor> cursor),
void Function(Pointer<SdlCursor> cursor)>('SDL_DestroyCursor');
return sdlDestroyCursorLookupFunction(cursor);
}