OLD | NEW |
1 // Copyright (c) 2011, 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_NATIVE_ARGUMENTS_H_ | 5 #ifndef VM_NATIVE_ARGUMENTS_H_ |
6 #define VM_NATIVE_ARGUMENTS_H_ | 6 #define VM_NATIVE_ARGUMENTS_H_ |
7 | 7 |
8 #include "vm/assert.h" | 8 #include "platform/assert.h" |
9 | 9 |
10 namespace dart { | 10 namespace dart { |
11 | 11 |
12 // Forward declarations. | 12 // Forward declarations. |
13 class Isolate; | 13 class Isolate; |
14 class Object; | 14 class Object; |
15 class RawObject; | 15 class RawObject; |
16 | 16 |
17 | 17 |
18 // Class NativeArguments is used to access arguments passed in from | 18 // Class NativeArguments is used to access arguments passed in from |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 private: | 54 private: |
55 Isolate* isolate_; // Current isolate pointer. | 55 Isolate* isolate_; // Current isolate pointer. |
56 int argc_; // Number of arguments passed to the runtime call. | 56 int argc_; // Number of arguments passed to the runtime call. |
57 RawObject*(*argv_)[]; // Pointer to an array of arguments to runtime call. | 57 RawObject*(*argv_)[]; // Pointer to an array of arguments to runtime call. |
58 RawObject** retval_; // Pointer to the return value area. | 58 RawObject** retval_; // Pointer to the return value area. |
59 }; | 59 }; |
60 | 60 |
61 } // namespace dart | 61 } // namespace dart |
62 | 62 |
63 #endif // VM_NATIVE_ARGUMENTS_H_ | 63 #endif // VM_NATIVE_ARGUMENTS_H_ |
OLD | NEW |