$allocate static method

Pointer<Text> $allocate(
  1. Allocator $allocator, {
  2. required Pointer<Pointer<Char>> line,
  3. required int n_lines,
})

Implementation

static ffi.Pointer<Text> $allocate(
ffi.Allocator $allocator, {
required ffi.Pointer<ffi.Pointer<ffi.Char>> line,
required int n_lines,
}) => $allocator<Text>()
..ref.line = line
..ref.n_lines = n_lines;