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

Side by Side Diff: runtime/bin/builtin.h

Issue 703693002: Regularize some naming to make BUILD.gn files easier to write. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 1 month 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/bin/bin.gypi ('k') | runtime/bin/builtin.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) 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 BIN_BUILTIN_H_ 5 #ifndef BIN_BUILTIN_H_
6 #define BIN_BUILTIN_H_ 6 #define BIN_BUILTIN_H_
7 7
8 #include <stdio.h> 8 #include <stdio.h>
9 #include <stdlib.h> 9 #include <stdlib.h>
10 10
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 // the file. 54 // the file.
55 static Dart_Handle GetSource(const char** source_paths, const char* uri); 55 static Dart_Handle GetSource(const char** source_paths, const char* uri);
56 56
57 // Native method support. 57 // Native method support.
58 static Dart_NativeFunction NativeLookup(Dart_Handle name, 58 static Dart_NativeFunction NativeLookup(Dart_Handle name,
59 int argument_count, 59 int argument_count,
60 bool* auto_setup_scope); 60 bool* auto_setup_scope);
61 61
62 static const uint8_t* NativeSymbol(Dart_NativeFunction nf); 62 static const uint8_t* NativeSymbol(Dart_NativeFunction nf);
63 63
64 static const char* builtin_source_paths_[]; 64 static const char* _builtin_source_paths_[];
65 static const char* io_source_paths_[]; 65 static const char* io_source_paths_[];
66 static const char* io_patch_paths_[]; 66 static const char* io_patch_paths_[];
67 67
68 typedef struct { 68 typedef struct {
69 const char* url_; 69 const char* url_;
70 const char** source_paths_; 70 const char** source_paths_;
71 const char* patch_url_; 71 const char* patch_url_;
72 const char** patch_paths_; 72 const char** patch_paths_;
73 bool has_natives_; 73 bool has_natives_;
74 } builtin_lib_props; 74 } builtin_lib_props;
75 static builtin_lib_props builtin_libraries_[]; 75 static builtin_lib_props builtin_libraries_[];
76 76
77 DISALLOW_ALLOCATION(); 77 DISALLOW_ALLOCATION();
78 DISALLOW_IMPLICIT_CONSTRUCTORS(Builtin); 78 DISALLOW_IMPLICIT_CONSTRUCTORS(Builtin);
79 }; 79 };
80 80
81 } // namespace bin 81 } // namespace bin
82 } // namespace dart 82 } // namespace dart
83 83
84 #endif // BIN_BUILTIN_H_ 84 #endif // BIN_BUILTIN_H_
OLDNEW
« no previous file with comments | « runtime/bin/bin.gypi ('k') | runtime/bin/builtin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698