$allocate static method

Pointer<MpNormalizedLandmarks> $allocate(
  1. Allocator $allocator, {
  2. required Pointer<MpNormalizedLandmark> landmarks,
  3. required int landmarks_count,
})

Implementation

static ffi.Pointer<MpNormalizedLandmarks> $allocate(
  ffi.Allocator $allocator, {
  required ffi.Pointer<MpNormalizedLandmark> landmarks,
  required int landmarks_count,
}) => $allocator<MpNormalizedLandmarks>()
  ..ref.landmarks = landmarks
  ..ref.landmarks_count = landmarks_count;