Chromium Code Reviews| Index: runtime/include/dart_api.h |
| diff --git a/runtime/include/dart_api.h b/runtime/include/dart_api.h |
| index d3f54b1b48ede03ca59aad692b1cbabd5994f12d..7c1bfd8ea8aba9bb032cbf010616475506fcbfb2 100755 |
| --- a/runtime/include/dart_api.h |
| +++ b/runtime/include/dart_api.h |
| @@ -1841,6 +1841,25 @@ DART_EXPORT Dart_Handle Dart_ListGetAt(Dart_Handle list, |
| intptr_t index); |
| /** |
| +* Gets a range of Objects from a List. |
| +* |
| +* If the any of the requested index values are out of bounds, an error occurs. |
|
siva
2015/08/12 17:07:25
If any of the requested ...
|
| +* |
| +* May generate an unhandled exception error. |
| +* |
| +* \param list A List. |
| +* \param offset The offset of the first item to get. |
| +* \param length The number of items to get. |
| +* \param result A pointer to fill with the objects. |
| +* |
| +* \return A valid handle if no error occurs during the operation. |
|
siva
2015/08/12 17:07:25
return Success if no error ....
|
| +*/ |
| +DART_EXPORT Dart_Handle Dart_ListGetRange(Dart_Handle list, |
| + intptr_t offset, |
| + intptr_t length, |
| + Dart_Handle* result); |
| + |
| +/** |
| * Sets the Object at some index of a List. |
| * |
| * If the index is out of bounds, an error occurs. |