| 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_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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 int argument_count); | 44 int argument_count); |
| 45 static Dart_NativeFunction BuiltinNativeLookup(Dart_Handle name, | 45 static Dart_NativeFunction BuiltinNativeLookup(Dart_Handle name, |
| 46 int argument_count); | 46 int argument_count); |
| 47 | 47 |
| 48 static const char async_source_[]; | 48 static const char async_source_[]; |
| 49 static const char builtin_source_[]; | 49 static const char builtin_source_[]; |
| 50 static const char crypto_source_[]; | 50 static const char crypto_source_[]; |
| 51 static const char io_source_[]; | 51 static const char io_source_[]; |
| 52 static const char io_patch_[]; | 52 static const char io_patch_[]; |
| 53 static const char json_source_[]; | 53 static const char json_source_[]; |
| 54 static const char json_patch_[]; |
| 54 static const char uri_source_[]; | 55 static const char uri_source_[]; |
| 55 static const char utf_source_[]; | 56 static const char utf_source_[]; |
| 56 static const char web_source_[]; | 57 static const char web_source_[]; |
| 57 | 58 |
| 58 typedef struct { | 59 typedef struct { |
| 59 const char* url_; | 60 const char* url_; |
| 60 const char* source_; | 61 const char* source_; |
| 61 const char* patch_url_; | 62 const char* patch_url_; |
| 62 const char* patch_source_; | 63 const char* patch_source_; |
| 63 bool has_natives_; | 64 bool has_natives_; |
| 64 } builtin_lib_props; | 65 } builtin_lib_props; |
| 65 static builtin_lib_props builtin_libraries_[]; | 66 static builtin_lib_props builtin_libraries_[]; |
| 66 | 67 |
| 67 DISALLOW_ALLOCATION(); | 68 DISALLOW_ALLOCATION(); |
| 68 DISALLOW_IMPLICIT_CONSTRUCTORS(Builtin); | 69 DISALLOW_IMPLICIT_CONSTRUCTORS(Builtin); |
| 69 }; | 70 }; |
| 70 | 71 |
| 71 | 72 |
| 72 #endif // BIN_BUILTIN_H_ | 73 #endif // BIN_BUILTIN_H_ |
| OLD | NEW |