| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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_BOOTSTRAP_NATIVES_H_ | 5 #ifndef VM_BOOTSTRAP_NATIVES_H_ |
| 6 #define VM_BOOTSTRAP_NATIVES_H_ | 6 #define VM_BOOTSTRAP_NATIVES_H_ |
| 7 | 7 |
| 8 #include "vm/native_entry.h" | 8 #include "vm/native_entry.h" |
| 9 | 9 |
| 10 // bootstrap dart natives used in the core dart library. | 10 // bootstrap dart natives used in the core dart library. |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 V(DateNatives_getYear, 2) \ | 93 V(DateNatives_getYear, 2) \ |
| 94 V(DateNatives_getMonth, 2) \ | 94 V(DateNatives_getMonth, 2) \ |
| 95 V(DateNatives_getDay, 2) \ | 95 V(DateNatives_getDay, 2) \ |
| 96 V(DateNatives_getHours, 2) \ | 96 V(DateNatives_getHours, 2) \ |
| 97 V(DateNatives_getMinutes, 2) \ | 97 V(DateNatives_getMinutes, 2) \ |
| 98 V(DateNatives_getSeconds, 2) \ | 98 V(DateNatives_getSeconds, 2) \ |
| 99 V(AssertionError_throwNew, 2) \ | 99 V(AssertionError_throwNew, 2) \ |
| 100 V(FallThroughError_throwNew, 1) \ | 100 V(FallThroughError_throwNew, 1) \ |
| 101 V(Clock_now, 0) \ | 101 V(Clock_now, 0) \ |
| 102 V(Clock_frequency, 0) \ | 102 V(Clock_frequency, 0) \ |
| 103 V(ByteBuffer_allocate, 1) \ |
| 104 V(ByteBuffer_getLength, 1) \ |
| 105 V(ByteBuffer_getInt8, 2) \ |
| 106 V(ByteBuffer_setInt8, 3) \ |
| 107 V(ByteBuffer_getUint8, 2) \ |
| 108 V(ByteBuffer_setUint8, 3) \ |
| 109 V(ByteBuffer_getInt16, 2) \ |
| 110 V(ByteBuffer_setInt16, 3) \ |
| 111 V(ByteBuffer_getUint16, 2) \ |
| 112 V(ByteBuffer_setUint16, 3) \ |
| 113 V(ByteBuffer_getInt32, 2) \ |
| 114 V(ByteBuffer_setInt32, 3) \ |
| 115 V(ByteBuffer_getUint32, 2) \ |
| 116 V(ByteBuffer_setUint32, 3) \ |
| 117 V(ByteBuffer_getInt64, 2) \ |
| 118 V(ByteBuffer_setInt64, 3) \ |
| 119 V(ByteBuffer_getUint64, 2) \ |
| 120 V(ByteBuffer_setUint64, 3) \ |
| 121 V(ByteBuffer_getFloat32, 2) \ |
| 122 V(ByteBuffer_setFloat32, 3) \ |
| 123 V(ByteBuffer_getFloat64, 2) \ |
| 124 V(ByteBuffer_setFloat64, 3) \ |
| 103 | 125 |
| 104 | 126 |
| 105 BOOTSTRAP_NATIVE_LIST(DECLARE_NATIVE_ENTRY) | 127 BOOTSTRAP_NATIVE_LIST(DECLARE_NATIVE_ENTRY) |
| 106 | 128 |
| 107 } // namespace dart | 129 } // namespace dart |
| 108 | 130 |
| 109 #endif // VM_BOOTSTRAP_NATIVES_H_ | 131 #endif // VM_BOOTSTRAP_NATIVES_H_ |
| OLD | NEW |