Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(839)

Side by Side Diff: src/shared/natives.h

Issue 1659163007: Rename fletch -> dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: address comments Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/shared/native_socket_windows.cc ('k') | src/shared/natives_to_json.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, the Dartino 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 dartino {
9 9
10 #define NATIVES_DO(N) \ 10 #define NATIVES_DO(N) \
11 N(PrintToConsole, "<none>", "printToConsole", false) \ 11 N(PrintToConsole, "<none>", "printToConsole", false) \
12 N(ExposeGC, "<none>", "_exposeGC", false) \ 12 N(ExposeGC, "<none>", "_exposeGC", false) \
13 N(GC, "<none>", "_gc", false) \ 13 N(GC, "<none>", "_gc", false) \
14 \ 14 \
15 N(IntParse, "int", "_parse", false) \ 15 N(IntParse, "int", "_parse", false) \
16 \ 16 \
17 N(SmiToDouble, "_Smi", "toDouble", false) \ 17 N(SmiToDouble, "_Smi", "toDouble", false) \
18 N(SmiToString, "_Smi", "toString", false) \ 18 N(SmiToString, "_Smi", "toString", false) \
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 false) \ 132 false) \
133 N(ProcessQueueGetChannel, "Process", "_queueGetChannel", false) \ 133 N(ProcessQueueGetChannel, "Process", "_queueGetChannel", false) \
134 N(ProcessCurrent, "Process", "current", false) \ 134 N(ProcessCurrent, "Process", "current", false) \
135 \ 135 \
136 N(CoroutineCurrent, "Coroutine", "_coroutineCurrent", false) \ 136 N(CoroutineCurrent, "Coroutine", "_coroutineCurrent", false) \
137 N(CoroutineNewStack, "Coroutine", "_coroutineNewStack", false) \ 137 N(CoroutineNewStack, "Coroutine", "_coroutineNewStack", false) \
138 \ 138 \
139 N(StopwatchFrequency, "Stopwatch", "_frequency", false) \ 139 N(StopwatchFrequency, "Stopwatch", "_frequency", false) \
140 N(StopwatchNow, "Stopwatch", "_now", false) \ 140 N(StopwatchNow, "Stopwatch", "_now", false) \
141 \ 141 \
142 N(TimerScheduleTimeout, "_FletchTimer", "_scheduleTimeout", false) \ 142 N(TimerScheduleTimeout, "_DartinoTimer", "_scheduleTimeout", false) \
143 N(EventHandlerSleep, "<none>", "_sleep", false) \ 143 N(EventHandlerSleep, "<none>", "_sleep", false) \
144 \ 144 \
145 N(ForeignLibraryLookup, "ForeignLibrary", "_lookupLibrary", false) \ 145 N(ForeignLibraryLookup, "ForeignLibrary", "_lookupLibrary", false) \
146 N(ForeignLibraryGetFunction, "ForeignLibrary", "_lookupFunction", false) \ 146 N(ForeignLibraryGetFunction, "ForeignLibrary", "_lookupFunction", false) \
147 N(ForeignLibraryBundlePath, "ForeignLibrary", "bundleLibraryName", false) \ 147 N(ForeignLibraryBundlePath, "ForeignLibrary", "bundleLibraryName", false) \
148 \ 148 \
149 N(ForeignBitsPerWord, "Foreign", "_bitsPerMachineWord", false) \ 149 N(ForeignBitsPerWord, "Foreign", "_bitsPerMachineWord", false) \
150 N(ForeignErrno, "Foreign", "_errno", false) \ 150 N(ForeignErrno, "Foreign", "_errno", false) \
151 N(ForeignPlatform, "Foreign", "_platform", false) \ 151 N(ForeignPlatform, "Foreign", "_platform", false) \
152 N(ForeignArchitecture, "Foreign", "_architecture", false) \ 152 N(ForeignArchitecture, "Foreign", "_architecture", false) \
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 NATIVES_DO(N) 261 NATIVES_DO(N)
262 #undef N 262 #undef N
263 kNumberOfNatives 263 kNumberOfNatives
264 }; 264 };
265 265
266 #define N(e, c, n, d) const bool kIsDetachable_##e = d; 266 #define N(e, c, n, d) const bool kIsDetachable_##e = d;
267 NATIVES_DO(N) 267 NATIVES_DO(N)
268 #undef N 268 #undef N
269 269
270 270
271 } // namespace fletch 271 } // namespace dartino
272 272
273 #endif // SRC_SHARED_NATIVES_H_ 273 #endif // SRC_SHARED_NATIVES_H_
OLDNEW
« no previous file with comments | « src/shared/native_socket_windows.cc ('k') | src/shared/natives_to_json.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698