Index: runtime/include/dart_api.h |
diff --git a/runtime/include/dart_api.h b/runtime/include/dart_api.h |
index d3f54b1b48ede03ca59aad692b1cbabd5994f12d..da43ac00a9e0fd4db35c7070caa91f36c970bf5b 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 any of the requested index values are out of bounds, an error occurs. |
+* |
+* 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 Success if no error occurs during the operation. |
+*/ |
+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. |