calloc method

Pointer<SdlPoint> calloc()

Implementation

Pointer<SdlPoint> calloc() {
  final pointer = ffi.calloc<SdlPoint>();
  pointer.ref.x = x;
  pointer.ref.y = y;
  return pointer;
}