Index: lib/io/platform_impl.dart |
diff --git a/runtime/bin/platform_impl.dart b/lib/io/platform_impl.dart |
similarity index 83% |
rename from runtime/bin/platform_impl.dart |
rename to lib/io/platform_impl.dart |
index 8949f794b61c7a5a7afb203c080573bd31b9341e..f8e0411ced3dc72382573c5120547911c3cb48db 100644 |
--- a/runtime/bin/platform_impl.dart |
+++ b/lib/io/platform_impl.dart |
@@ -3,11 +3,11 @@ |
// BSD-style license that can be found in the LICENSE file. |
class _Platform { |
- static int _numberOfProcessors() native "Platform_NumberOfProcessors"; |
- static String _pathSeparator() native "Platform_PathSeparator"; |
- static String _operatingSystem() native "Platform_OperatingSystem"; |
- static _localHostname() native "Platform_LocalHostname"; |
- static _environment() native "Platform_Environment"; |
+ external static int _numberOfProcessors(); |
+ external static String _pathSeparator(); |
+ external static String _operatingSystem(); |
+ external static _localHostname(); |
+ external static _environment(); |
static int get numberOfProcessors { |
return _numberOfProcessors(); |