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_SHARED_NATIVES_H_ | 5 #ifndef SRC_SHARED_NATIVES_H_ |
6 #define SRC_SHARED_NATIVES_H_ | 6 #define SRC_SHARED_NATIVES_H_ |
7 | 7 |
8 namespace fletch { | 8 namespace fletch { |
9 | 9 |
10 #define NATIVES_DO(N) \ | 10 #define NATIVES_DO(N) \ |
11 N(PrintToConsole, "<none>", "printToConsole") \ | 11 N(PrintToConsole, "<none>", "printToConsole") \ |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 enum Native { | 255 enum Native { |
256 #define N(e, c, n) k##e, | 256 #define N(e, c, n) k##e, |
257 NATIVES_DO(N) | 257 NATIVES_DO(N) |
258 #undef N | 258 #undef N |
259 kNumberOfNatives | 259 kNumberOfNatives |
260 }; | 260 }; |
261 | 261 |
262 } // namespace fletch | 262 } // namespace fletch |
263 | 263 |
264 #endif // SRC_SHARED_NATIVES_H_ | 264 #endif // SRC_SHARED_NATIVES_H_ |
OLD | NEW |