callocInt method
Implementation
Pointer<SdlPoint> callocInt() {
var pointsPointer = ffi.calloc<SdlPoint>(length);
for (var n = 0; n < length; n++) {
var pointPointer = pointsPointer + n;
pointPointer.ref.x = this[n].x.toInt();
pointPointer.ref.y = this[n].y.toInt();
}
return pointsPointer;
}