| // 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; | |
| } |