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 library dart.fletch._system; | 5 library dart.fletch._system; |
6 | 6 |
7 import 'dart:_internal' hide Symbol; | 7 import 'dart:_internal' hide Symbol; |
8 import 'dart:collection'; | 8 import 'dart:collection'; |
9 import 'dart:fletch'; | 9 import 'dart:fletch'; |
10 import 'dart:math'; | 10 import 'dart:math'; |
11 | 11 |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 /// Make the current process yield. Either to allow other fibers to | 79 /// Make the current process yield. Either to allow other fibers to |
80 /// make progress or to terminate execution. | 80 /// make progress or to terminate execution. |
81 external yield(int reason); | 81 external yield(int reason); |
82 | 82 |
83 external get nativeError; | 83 external get nativeError; |
84 | 84 |
85 // Change execution to [coroutine], passing along [argument]. | 85 // Change execution to [coroutine], passing along [argument]. |
86 external coroutineChange(coroutine, argument); | 86 external coroutineChange(coroutine, argument); |
87 | 87 |
88 const patch = "patch"; | 88 const patch = "patch"; |
OLD | NEW |