callocInt method

Pointer<SdlPoint> callocInt()

Implementation

Pointer<SdlPoint> callocInt() {
  var result = ffi.calloc<SdlPoint>()
    ..ref.x = x.toInt()
    ..ref.y = y.toInt();
  return result;
}