| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 2 * Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 3 * for details. All rights reserved. Use of this source code is governed by a | 3 * for details. All rights reserved. Use of this source code is governed by a |
| 4 * BSD-style license that can be found in the LICENSE file. | 4 * BSD-style license that can be found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 #ifndef INCLUDE_DART_NATIVE_API_H_ | 7 #ifndef INCLUDE_DART_NATIVE_API_H_ |
| 8 #define INCLUDE_DART_NATIVE_API_H_ | 8 #define INCLUDE_DART_NATIVE_API_H_ |
| 9 | 9 |
| 10 #include "include/dart_api.h" | 10 #include "include/dart_api.h" |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 bool as_bool; | 50 bool as_bool; |
| 51 int32_t as_int32; | 51 int32_t as_int32; |
| 52 int64_t as_int64; | 52 int64_t as_int64; |
| 53 double as_double; | 53 double as_double; |
| 54 char* as_string; | 54 char* as_string; |
| 55 struct { | 55 struct { |
| 56 bool neg; | 56 bool neg; |
| 57 intptr_t used; | 57 intptr_t used; |
| 58 struct _Dart_CObject* digits; | 58 struct _Dart_CObject* digits; |
| 59 } as_bigint; | 59 } as_bigint; |
| 60 Dart_Port as_send_port; | 60 struct { |
| 61 Dart_Port id; |
| 62 Dart_Port origin_id; |
| 63 } as_send_port; |
| 61 struct { | 64 struct { |
| 62 intptr_t length; | 65 intptr_t length; |
| 63 struct _Dart_CObject** values; | 66 struct _Dart_CObject** values; |
| 64 } as_array; | 67 } as_array; |
| 65 struct { | 68 struct { |
| 66 Dart_TypedData_Type type; | 69 Dart_TypedData_Type type; |
| 67 intptr_t length; | 70 intptr_t length; |
| 68 uint8_t* values; | 71 uint8_t* values; |
| 69 } as_typed_data; | 72 } as_typed_data; |
| 70 struct { | 73 struct { |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 | 150 |
| 148 /** | 151 /** |
| 149 * Forces all loaded classes and functions to be compiled eagerly in | 152 * Forces all loaded classes and functions to be compiled eagerly in |
| 150 * the current isolate.. | 153 * the current isolate.. |
| 151 * | 154 * |
| 152 * TODO(turnidge): Document. | 155 * TODO(turnidge): Document. |
| 153 */ | 156 */ |
| 154 DART_EXPORT Dart_Handle Dart_CompileAll(); | 157 DART_EXPORT Dart_Handle Dart_CompileAll(); |
| 155 | 158 |
| 156 #endif /* INCLUDE_DART_NATIVE_API_H_ */ /* NOLINT */ | 159 #endif /* INCLUDE_DART_NATIVE_API_H_ */ /* NOLINT */ |
| OLD | NEW |