$allocate static method

Pointer<ShapeArray> $allocate(
  1. Allocator $allocator, {
  2. required Pointer<UnsignedLongLong> item,
  3. required int n,
  4. required int size,
})

Implementation

static ffi.Pointer<ShapeArray> $allocate(
ffi.Allocator $allocator, {
required ffi.Pointer<ffi.UnsignedLongLong> item,
required int n,
required int size,
}) => $allocator<ShapeArray>()
..ref.item = item
..ref.n = n
..ref.size = size;