| 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_DART_ENTRY_H_ | 5 #ifndef VM_DART_ENTRY_H_ |
| 6 #define VM_DART_ENTRY_H_ | 6 #define VM_DART_ENTRY_H_ |
| 7 | 7 |
| 8 #include "vm/allocation.h" | 8 #include "vm/allocation.h" |
| 9 #include "vm/growable_array.h" | 9 #include "vm/growable_array.h" |
| 10 | 10 |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 | 83 |
| 84 // map[key] = value; | 84 // map[key] = value; |
| 85 // | 85 // |
| 86 // Returns null on success, a RawError on failure. | 86 // Returns null on success, a RawError on failure. |
| 87 static RawObject* MapSetAt(const Instance& map, | 87 static RawObject* MapSetAt(const Instance& map, |
| 88 const Instance& key, | 88 const Instance& key, |
| 89 const Instance& value); | 89 const Instance& value); |
| 90 | 90 |
| 91 // Gets the _id field of a SendPort/ReceivePort. | 91 // Gets the _id field of a SendPort/ReceivePort. |
| 92 // | 92 // |
| 93 // Returns null on success, a RawError on failure. | 93 // Returns the value of _id on success, a RawError on failure. |
| 94 static RawObject* PortGetId(const Instance& port); | 94 static RawObject* PortGetId(const Instance& port); |
| 95 }; | 95 }; |
| 96 | 96 |
| 97 } // namespace dart | 97 } // namespace dart |
| 98 | 98 |
| 99 #endif // VM_DART_ENTRY_H_ | 99 #endif // VM_DART_ENTRY_H_ |
| OLD | NEW |