$allocate static method

Pointer<HashLock> $allocate(
  1. Allocator $allocator, {
  2. required int spin,
})

Implementation

static ffi.Pointer<HashLock> $allocate(
ffi.Allocator $allocator, {
required int spin,
}) => $allocator<HashLock>()
..ref.spin = spin;