$allocate static method

Pointer<clockinfo> $allocate(
  1. Allocator $allocator, {
  2. required int hz,
  3. required int tick,
  4. required int tickadj,
  5. required int stathz,
  6. required int profhz,
})

Implementation

static ffi.Pointer<clockinfo> $allocate(
ffi.Allocator $allocator, {
required int hz,
required int tick,
required int tickadj,
required int stathz,
required int profhz,
}) => $allocator<clockinfo>()
..ref.hz = hz
..ref.tick = tick
..ref.tickadj = tickadj
..ref.stathz = stathz
..ref.profhz = profhz;