$allocate static method
Pointer<CodeResults>
$allocate(
- Allocator $allocator, {
- required int count,
- required Pointer<
CodeResult> results, - required int duration,
Implementation
static ffi.Pointer<CodeResults> $allocate(
ffi.Allocator $allocator, {
required int count,
required ffi.Pointer<CodeResult> results,
required int duration,
}) => $allocator<CodeResults>()
..ref.count = count
..ref.results = results
..ref.duration = duration;