$allocate static method

Pointer<ShapeHash> $allocate(
  1. Allocator $allocator, {
  2. required Pointer<ShapeArray> array,
  3. required int size,
  4. required int mask,
})

Implementation

static ffi.Pointer<ShapeHash> $allocate(
ffi.Allocator $allocator, {
required ffi.Pointer<ShapeArray> array,
required int size,
required int mask,
}) => $allocator<ShapeHash>()
..ref.array = array
..ref.size = size
..ref.mask = mask;