chickadee » sdl2 » make-point*

make-point #!optional x yprocedure
make-point* #!optional x yprocedure

Allocate and initialize a new sdl2:point.

x and y must be integers in the range -2147483648 to 2147483647 (inclusive). They both default to 0.

  • make-point returns a memory-managed sdl2:point.
  • make-point* returns an unmanaged sdl2:point, which should be freed with free-point! when you are done with it.