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

Side by Side Diff: runtime/vm/bootstrap_natives.h

Issue 21039005: Add support for file URIs and extracting the file path from file URIs (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix due to issue 12290 Created 7 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « runtime/lib/uri_patch.dart ('k') | sdk/lib/_internal/lib/core_patch.dart » ('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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 #ifndef VM_BOOTSTRAP_NATIVES_H_ 5 #ifndef VM_BOOTSTRAP_NATIVES_H_
6 #define VM_BOOTSTRAP_NATIVES_H_ 6 #define VM_BOOTSTRAP_NATIVES_H_
7 7
8 #include "vm/native_entry.h" 8 #include "vm/native_entry.h"
9 9
10 // bootstrap dart natives used in the core dart library. 10 // bootstrap dart natives used in the core dart library.
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 V(GrowableObjectArray_getIndexed, 2) \ 280 V(GrowableObjectArray_getIndexed, 2) \
281 V(GrowableObjectArray_setIndexed, 3) \ 281 V(GrowableObjectArray_setIndexed, 3) \
282 V(GrowableObjectArray_getLength, 1) \ 282 V(GrowableObjectArray_getLength, 1) \
283 V(GrowableObjectArray_getCapacity, 1) \ 283 V(GrowableObjectArray_getCapacity, 1) \
284 V(GrowableObjectArray_setLength, 2) \ 284 V(GrowableObjectArray_setLength, 2) \
285 V(GrowableObjectArray_setData, 2) \ 285 V(GrowableObjectArray_setData, 2) \
286 V(WeakProperty_new, 2) \ 286 V(WeakProperty_new, 2) \
287 V(WeakProperty_getKey, 1) \ 287 V(WeakProperty_getKey, 1) \
288 V(WeakProperty_getValue, 1) \ 288 V(WeakProperty_getValue, 1) \
289 V(WeakProperty_setValue, 2) \ 289 V(WeakProperty_setValue, 2) \
290 V(Uri_isWindowsPlatform, 0) \
290 291
291 class BootstrapNatives : public AllStatic { 292 class BootstrapNatives : public AllStatic {
292 public: 293 public:
293 static Dart_NativeFunction Lookup(Dart_Handle name, int argument_count); 294 static Dart_NativeFunction Lookup(Dart_Handle name, int argument_count);
294 295
295 #define DECLARE_BOOTSTRAP_NATIVE(name, ignored) \ 296 #define DECLARE_BOOTSTRAP_NATIVE(name, ignored) \
296 static void DN_##name(Dart_NativeArguments args); 297 static void DN_##name(Dart_NativeArguments args);
297 298
298 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) 299 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE)
299 300
300 #undef DECLARE_BOOTSTRAP_NATIVE 301 #undef DECLARE_BOOTSTRAP_NATIVE
301 }; 302 };
302 303
303 } // namespace dart 304 } // namespace dart
304 305
305 #endif // VM_BOOTSTRAP_NATIVES_H_ 306 #endif // VM_BOOTSTRAP_NATIVES_H_
OLDNEW
« no previous file with comments | « runtime/lib/uri_patch.dart ('k') | sdk/lib/_internal/lib/core_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698