Chromium Code Reviews| Index: runtime/bin/platform.cc |
| diff --git a/runtime/bin/platform.cc b/runtime/bin/platform.cc |
| index e8b7849147fff3ce403f356381af03ea9930b864..e206ab14d700e5776b759ad3928519c256b698f0 100644 |
| --- a/runtime/bin/platform.cc |
| +++ b/runtime/bin/platform.cc |
| @@ -109,6 +109,11 @@ void FUNCTION_NAME(Platform_GetVersion)(Dart_NativeArguments args) { |
| Dart_SetReturnValue(args, Dart_NewStringFromCString(Dart_VersionString())); |
| } |
| + |
| +void FUNCTION_NAME(Platform_AnsiSupported)(Dart_NativeArguments args) { |
| + Dart_SetReturnValue(args, Dart_NewBoolean(Platform::AnsiSupported())); |
|
siva
2017/03/10 23:39:03
You could use
Dart_SetBooleanReturnValue(args, Pla
zra
2017/03/15 17:03:57
Done.
|
| +} |
| + |
| } // namespace bin |
| } // namespace dart |