blob: f12ec8fee6308a940c5a1cf3ea0d3c1ae7633028 [file]
// Copyright 2019 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@apiExposedInstanceTypeValue(0xcc)
@cppObjectLayoutDefinition
extern class Foreign extends HeapObject {
foreign_address: ExternalPointer;
}
@cppObjectLayoutDefinition
extern class TrustedForeign extends TrustedObject {
foreign_address: RawPtr;
}