OLD | NEW |
---|---|
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart 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 file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 patch List makeListFixedLength(List growableList) | 5 patch List makeListFixedLength(List growableList) |
6 native "Internal_makeListFixedLength"; | 6 native "Internal_makeListFixedLength"; |
7 | 7 |
8 patch List makeFixedListUnmodifiable(List fixedLengthList) | 8 patch List makeFixedListUnmodifiable(List fixedLengthList) |
9 native "Internal_makeFixedListUnmodifiable"; | 9 native "Internal_makeFixedListUnmodifiable"; |
10 | 10 |
11 class VMLibraryHooks { | 11 class VMLibraryHooks { |
12 // Example: "dart:isolate _Timer._factory" | 12 // Example: "dart:isolate _Timer._factory" |
13 static var timerFactory; | 13 static var timerFactory; |
14 // Example: "dart:io _EventHandler._sendData" | 14 // Example: "dart:io _EventHandler._sendData" |
15 static var eventHandlerSendData; | 15 static var eventHandlerSendData; |
16 // Example: "dart:core Resource._readAsStream" | |
Ivan Posva
2015/06/12 10:51:03
Not needed in this CL.
Lasse Reichstein Nielsen
2015/06/16 12:05:01
Done.
| |
17 static var resourceReadAsStream; | |
18 // Example: "dart:core Resource._readAsFuture" | |
19 static var resourceReadAsFuture; | |
20 // Example: "dart:core Resource._readAsString" | |
21 static var resourceReadAsString; | |
16 } | 22 } |
17 | 23 |
18 patch class CodeUnits { | 24 patch class CodeUnits { |
19 static final int cid = ClassID.getID(new CodeUnits("")); | 25 static final int cid = ClassID.getID(new CodeUnits("")); |
20 } | 26 } |
21 | 27 |
22 final bool is64Bit = _inquireIs64Bit(); | 28 final bool is64Bit = _inquireIs64Bit(); |
23 | 29 |
24 bool _inquireIs64Bit() native "Internal_inquireIs64Bit"; | 30 bool _inquireIs64Bit() native "Internal_inquireIs64Bit"; |
Ivan Posva
2015/06/12 10:51:03
I assume this adds a missing new line?
Lasse Reichstein Nielsen
2015/06/16 12:05:01
Yes, seems so.
| |
OLD | NEW |