OLD | NEW |
1 // Copyright (c) 2014, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 #ifndef SRC_VM_OBJECT_H_ | 5 #ifndef SRC_VM_OBJECT_H_ |
6 #define SRC_VM_OBJECT_H_ | 6 #define SRC_VM_OBJECT_H_ |
7 | 7 |
8 #define _USE_MATH_DEFINES // required for Windows | 8 #define _USE_MATH_DEFINES // required for Windows |
9 #include <math.h> | 9 #include <math.h> |
10 #include <string.h> | 10 #include <string.h> |
11 | 11 |
(...skipping 2352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2364 return Coroutine::cast(at(kCallerOffset)); | 2364 return Coroutine::cast(at(kCallerOffset)); |
2365 } | 2365 } |
2366 | 2366 |
2367 inline void Coroutine::set_caller(Coroutine* value) { | 2367 inline void Coroutine::set_caller(Coroutine* value) { |
2368 at_put(kCallerOffset, value); | 2368 at_put(kCallerOffset, value); |
2369 } | 2369 } |
2370 | 2370 |
2371 } // namespace fletch | 2371 } // namespace fletch |
2372 | 2372 |
2373 #endif // SRC_VM_OBJECT_H_ | 2373 #endif // SRC_VM_OBJECT_H_ |
OLD | NEW |