$allocate static method

Pointer<MpStringList> $allocate(
  1. Allocator $allocator, {
  2. required Pointer<Pointer<Char>> strings,
  3. required int num_strings,
})

Implementation

static ffi.Pointer<MpStringList> $allocate(
  ffi.Allocator $allocator, {
  required ffi.Pointer<ffi.Pointer<ffi.Char>> strings,
  required int num_strings,
}) => $allocator<MpStringList>()
  ..ref.strings = strings
  ..ref.num_strings = num_strings;