Function sdl2_sys::SDL_GetCursor
source ยท pub unsafe extern "C" fn SDL_GetCursor() -> *mut SDL_Cursor
Expand description
Get the active cursor.
This function returns a pointer to the current cursor which is owned by the library. It is not necessary to free the cursor with SDL_FreeCursor().
\returns the active cursor or NULL if there is no mouse.
\since This function is available since SDL 2.0.0.
\sa SDL_SetCursor