sdlGetDefaultCursor function
Get the default cursor.
You do not have to call SDL_FreeCursor() on the return value, but it is safe to do so.
\returns the default cursor on success or NULL on failure.
\since This function is available since SDL 2.0.0.
\sa SDL_CreateSystemCursor
extern DECLSPEC SDL_Cursor *SDLCALL SDL_GetDefaultCursor(void)
Implementation
Pointer<SdlCursor> sdlGetDefaultCursor() {
final sdlGetDefaultCursorLookupFunction = libSdl2.lookupFunction<
Pointer<SdlCursor> Function(),
Pointer<SdlCursor> Function()>('SDL_GetDefaultCursor');
return sdlGetDefaultCursorLookupFunction();
}