Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(270)

Unified Diff: runtime/bin/platform.cc

Issue 2739683005: [dart:io] Adds Platform.ansiSupported (Closed)
Patch Set: Cleanup Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/bin/platform.cc
diff --git a/runtime/bin/platform.cc b/runtime/bin/platform.cc
index e8b7849147fff3ce403f356381af03ea9930b864..dc1ebc459d36878e6983d21ceb66a06e02fefd9e 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_SetBooleanReturnValue(args, Platform::AnsiSupported());
+}
+
} // namespace bin
} // namespace dart

Powered by Google App Engine
This is Rietveld 408576698