calloc method

Pointer<SdlColor> calloc()

Implementation

Pointer<SdlColor> calloc() {
  final pointer = ffi.calloc<SdlColor>();
  pointer.ref.r = r;
  pointer.ref.g = g;
  pointer.ref.b = b;
  pointer.ref.a = a;
  return pointer;
}