blob: 3391e880bf515a7329cc5e38a858c7e5ca391e6d [file] [log] [blame]
// Copyright (c) 2020, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// All imports must be in all FFI patch files to not depend on the order
// the patches are applied.
import "dart:_internal" show patch;
import 'dart:typed_data';
import 'dart:isolate';
@pragma("vm:entry-point")
abstract class Struct extends NativeType {}
@pragma("vm:entry-point")
class _FfiStructLayout {
@pragma("vm:entry-point")
final List<Object> fieldTypes;
const _FfiStructLayout(this.fieldTypes);
}
@pragma("vm:entry-point")
class _FfiInlineArray {
@pragma("vm:entry-point")
final Type elementType;
@pragma("vm:entry-point")
final int length;
const _FfiInlineArray(this.elementType, this.length);
}