| OLD | NEW |
| 1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
| 4 | 4 |
| 5 // The dart:fletch.ffi library is a low-level 'foreign function interface' | 5 // The dart:fletch.ffi library is a low-level 'foreign function interface' |
| 6 // library that allows Dart code to call arbitrary native platform | 6 // library that allows Dart code to call arbitrary native platform |
| 7 // code defined outside the VM. | 7 // code defined outside the VM. |
| 8 library dart.fletch.ffi; | 8 library dart.fletch.ffi; |
| 9 | 9 |
| 10 import 'dart:fletch._system' as fletch; | 10 import 'dart:fletch._system' as fletch; |
| 11 import 'dart:fletch'; | 11 import 'dart:fletch'; |
| (...skipping 642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 654 Struct32.fromAddress(int address, int fields) | 654 Struct32.fromAddress(int address, int fields) |
| 655 : super.fromAddressWithWordSize(address, fields, 4); | 655 : super.fromAddressWithWordSize(address, fields, 4); |
| 656 } | 656 } |
| 657 | 657 |
| 658 class Struct64 extends Struct { | 658 class Struct64 extends Struct { |
| 659 Struct64(int fields) : super.withWordSize(fields, 8); | 659 Struct64(int fields) : super.withWordSize(fields, 8); |
| 660 Struct64.finalized(int fields) : super.withWordSizeFinalized(fields, 8); | 660 Struct64.finalized(int fields) : super.withWordSizeFinalized(fields, 8); |
| 661 Struct64.fromAddress(int address, int fields) | 661 Struct64.fromAddress(int address, int fields) |
| 662 : super.fromAddressWithWordSize(address, fields, 8); | 662 : super.fromAddressWithWordSize(address, fields, 8); |
| 663 } | 663 } |
| OLD | NEW |