| Index: runtime/bin/dartutils.h
|
| diff --git a/runtime/bin/dartutils.h b/runtime/bin/dartutils.h
|
| index a9c3410d5468b01c081c7dd326800ab748e134a7..b3132bbf03d6655b54872c5126e6f80b98811fcd 100644
|
| --- a/runtime/bin/dartutils.h
|
| +++ b/runtime/bin/dartutils.h
|
| @@ -81,6 +81,11 @@ class DartUtils {
|
| // Returns the integer value of a Dart object. If the object is not
|
| // an integer value an API error is propagated.
|
| static int64_t GetIntegerValue(Dart_Handle value_obj);
|
| + // Returns the integer value of a Dart object. If the object is not
|
| + // an integer value or outside the requested range an API error is
|
| + // propagated.
|
| + static int64_t GetIntegerValueCheckRange(
|
| + Dart_Handle value_obj, int64_t lower, int64_t upper);
|
| // Returns the intptr_t value of a Dart object. If the object is not
|
| // an integer value or the value is outside the intptr_t range an
|
| // API error is propagated.
|
|
|