# Allocate the memory for a new `SDLColor` and fill it with `r`, `g`, `b` and `a`
#
# As with `malloc`, the new instances must then be freed with `free`.
new (r, g, b, a: Int)
do
var color = new SDLColor.malloc
color.set(r, g, b, a)
return color
end
lib/sdl2/sdl2_base.nit:331,2--339,4