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 VM_DART_API_MESSAGE_H_ | 5 #ifndef VM_DART_API_MESSAGE_H_ |
6 #define VM_DART_API_MESSAGE_H_ | 6 #define VM_DART_API_MESSAGE_H_ |
7 | 7 |
| 8 #include "include/dart_native_api.h" |
8 #include "vm/dart_api_state.h" | 9 #include "vm/dart_api_state.h" |
9 #include "vm/snapshot.h" | 10 #include "vm/snapshot.h" |
10 | 11 |
11 namespace dart { | 12 namespace dart { |
12 | 13 |
13 // Use this C structure for reading internal objects in the serialized | 14 // Use this C structure for reading internal objects in the serialized |
14 // data. These are objects that we need to process in order to | 15 // data. These are objects that we need to process in order to |
15 // generate the Dart_CObject graph but that we don't want to expose in | 16 // generate the Dart_CObject graph but that we don't want to expose in |
16 // that graph. | 17 // that graph. |
17 struct Dart_CObject_Internal : public Dart_CObject { | 18 struct Dart_CObject_Internal : public Dart_CObject { |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 Dart_CObject** forward_list_; | 184 Dart_CObject** forward_list_; |
184 intptr_t forward_list_length_; | 185 intptr_t forward_list_length_; |
185 intptr_t forward_id_; | 186 intptr_t forward_id_; |
186 | 187 |
187 DISALLOW_COPY_AND_ASSIGN(ApiMessageWriter); | 188 DISALLOW_COPY_AND_ASSIGN(ApiMessageWriter); |
188 }; | 189 }; |
189 | 190 |
190 } // namespace dart | 191 } // namespace dart |
191 | 192 |
192 #endif // VM_DART_API_MESSAGE_H_ | 193 #endif // VM_DART_API_MESSAGE_H_ |
OLD | NEW |