chickadee » sdl2 » free-cursor!

free-cursor! cursorprocedure

Free the memory of the sdl2:cursor's underlying struct. cursor's pointer will be set to null (see struct-null?). It is safe to call this procedure with managed or unmanaged sdl2:cursors. It is safe (but has no effect) to free a struct record multiple times.

Requires sdl2 egg 0.4.0 or higher.