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