OLD | NEW |
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_DARTUTILS_H_ | 5 #ifndef BIN_DARTUTILS_H_ |
6 #define BIN_DARTUTILS_H_ | 6 #define BIN_DARTUTILS_H_ |
7 | 7 |
8 #include "bin/builtin.h" | 8 #include "bin/builtin.h" |
9 #include "bin/utils.h" | 9 #include "bin/utils.h" |
10 #include "include/dart_api.h" | 10 #include "include/dart_api.h" |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 | 119 |
120 static void SetOriginalWorkingDirectory(); | 120 static void SetOriginalWorkingDirectory(); |
121 | 121 |
122 // Global state that stores the original working directory.. | 122 // Global state that stores the original working directory.. |
123 static const char* original_working_directory; | 123 static const char* original_working_directory; |
124 | 124 |
125 static const char* kDartScheme; | 125 static const char* kDartScheme; |
126 static const char* kDartExtensionScheme; | 126 static const char* kDartExtensionScheme; |
127 static const char* kBuiltinLibURL; | 127 static const char* kBuiltinLibURL; |
128 static const char* kCoreLibURL; | 128 static const char* kCoreLibURL; |
129 static const char* kCoreImplLibURL; | |
130 static const char* kCryptoLibURL; | 129 static const char* kCryptoLibURL; |
131 static const char* kIOLibURL; | 130 static const char* kIOLibURL; |
132 static const char* kIOLibPatchURL; | 131 static const char* kIOLibPatchURL; |
133 static const char* kJsonLibURL; | 132 static const char* kJsonLibURL; |
134 static const char* kUriLibURL; | 133 static const char* kUriLibURL; |
135 static const char* kUtfLibURL; | 134 static const char* kUtfLibURL; |
136 static const char* kIsolateLibURL; | 135 static const char* kIsolateLibURL; |
137 static const char* kScalarlistLibURL; | 136 static const char* kScalarlistLibURL; |
138 static const char* kWebLibURL; | 137 static const char* kWebLibURL; |
139 | 138 |
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
370 void* Peer() const { return cobject_->value.as_external_byte_array.peer; } | 369 void* Peer() const { return cobject_->value.as_external_byte_array.peer; } |
371 Dart_PeerFinalizer Callback() const { | 370 Dart_PeerFinalizer Callback() const { |
372 return cobject_->value.as_external_byte_array.callback; | 371 return cobject_->value.as_external_byte_array.callback; |
373 } | 372 } |
374 | 373 |
375 private: | 374 private: |
376 DISALLOW_COPY_AND_ASSIGN(CObjectExternalUint8Array); | 375 DISALLOW_COPY_AND_ASSIGN(CObjectExternalUint8Array); |
377 }; | 376 }; |
378 | 377 |
379 #endif // BIN_DARTUTILS_H_ | 378 #endif // BIN_DARTUTILS_H_ |
OLD | NEW |