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/process.h" | 7 #include "bin/process.h" |
8 | 8 |
9 #include "bin/builtin.h" | 9 #include "bin/builtin.h" |
10 #include "bin/dartutils.h" | 10 #include "bin/dartutils.h" |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 Dart_ThrowException( | 85 Dart_ThrowException( |
86 DartUtils::NewInternalError("Process is not supported on this platform")); | 86 DartUtils::NewInternalError("Process is not supported on this platform")); |
87 } | 87 } |
88 | 88 |
89 | 89 |
90 void FUNCTION_NAME(StringToSystemEncoding)(Dart_NativeArguments args) { | 90 void FUNCTION_NAME(StringToSystemEncoding)(Dart_NativeArguments args) { |
91 Dart_ThrowException( | 91 Dart_ThrowException( |
92 DartUtils::NewInternalError("Process is not supported on this platform")); | 92 DartUtils::NewInternalError("Process is not supported on this platform")); |
93 } | 93 } |
94 | 94 |
| 95 |
| 96 void FUNCTION_NAME(ProcessInfo_CurrentRSS)(Dart_NativeArguments args) { |
| 97 Dart_ThrowException( |
| 98 DartUtils::NewInternalError("Process is not supported on this platform")); |
| 99 } |
| 100 |
| 101 |
| 102 void FUNCTION_NAME(ProcessInfo_MaxRSS)(Dart_NativeArguments args) { |
| 103 Dart_ThrowException( |
| 104 DartUtils::NewInternalError("Process is not supported on this platform")); |
| 105 } |
| 106 |
95 } // namespace bin | 107 } // namespace bin |
96 } // namespace dart | 108 } // namespace dart |
97 | 109 |
98 #endif // !defined(DART_IO_DISABLED) | 110 #endif // !defined(DART_IO_DISABLED) |
OLD | NEW |