| Index: runtime/bin/platform.cc
|
| diff --git a/runtime/bin/platform.cc b/runtime/bin/platform.cc
|
| index 850be27e2ead3947e36c51e76c77885560d2eadd..495ffe3db941f82234b5455b248e1e448e7c6320 100644
|
| --- a/runtime/bin/platform.cc
|
| +++ b/runtime/bin/platform.cc
|
| @@ -79,5 +79,12 @@ void FUNCTION_NAME(Platform_Environment)(Dart_NativeArguments args) {
|
| Dart_ExitScope();
|
| }
|
|
|
| +
|
| +void FUNCTION_NAME(Platform_GetVersion)(Dart_NativeArguments args) {
|
| + Dart_EnterScope();
|
| + Dart_SetReturnValue(args, Dart_NewStringFromCString(Dart_VersionString()));
|
| + Dart_ExitScope();
|
| +}
|
| +
|
| } // namespace bin
|
| } // namespace dart
|
|
|