OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #if defined(DART_IO_DISABLED) | 5 #if defined(DART_IO_DISABLED) |
6 | 6 |
7 #include "bin/builtin.h" | 7 #include "bin/builtin.h" |
8 #include "bin/dartutils.h" | 8 #include "bin/dartutils.h" |
9 #include "include/dart_api.h" | 9 #include "include/dart_api.h" |
10 | 10 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 Dart_ThrowException(DartUtils::NewInternalError( | 57 Dart_ThrowException(DartUtils::NewInternalError( |
58 "Platform is not supported on this platform")); | 58 "Platform is not supported on this platform")); |
59 } | 59 } |
60 | 60 |
61 | 61 |
62 void FUNCTION_NAME(Platform_GetVersion)(Dart_NativeArguments args) { | 62 void FUNCTION_NAME(Platform_GetVersion)(Dart_NativeArguments args) { |
63 Dart_ThrowException(DartUtils::NewInternalError( | 63 Dart_ThrowException(DartUtils::NewInternalError( |
64 "Platform is not supported on this platform")); | 64 "Platform is not supported on this platform")); |
65 } | 65 } |
66 | 66 |
| 67 |
| 68 void FUNCTION_NAME(Platform_LocaleName)(Dart_NativeArguments args) { |
| 69 Dart_ThrowException(DartUtils::NewInternalError( |
| 70 "Platform is not supported on this platform")); |
| 71 } |
| 72 |
67 } // namespace bin | 73 } // namespace bin |
68 } // namespace dart | 74 } // namespace dart |
69 | 75 |
70 #endif // !defined(DART_IO_DISABLED) | 76 #endif // !defined(DART_IO_DISABLED) |
OLD | NEW |