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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 DartUtils::NewInternalError("File is not supported on this platform")); | 101 DartUtils::NewInternalError("File is not supported on this platform")); |
102 } | 102 } |
103 | 103 |
104 | 104 |
105 void FUNCTION_NAME(File_LastModified)(Dart_NativeArguments args) { | 105 void FUNCTION_NAME(File_LastModified)(Dart_NativeArguments args) { |
106 Dart_ThrowException( | 106 Dart_ThrowException( |
107 DartUtils::NewInternalError("File is not supported on this platform")); | 107 DartUtils::NewInternalError("File is not supported on this platform")); |
108 } | 108 } |
109 | 109 |
110 | 110 |
| 111 void FUNCTION_NAME(File_LastAccessed)(Dart_NativeArguments args) { |
| 112 Dart_ThrowException( |
| 113 DartUtils::NewInternalError("File is not supported on this platform")); |
| 114 } |
| 115 |
| 116 |
| 117 void FUNCTION_NAME(File_SetLastModified)(Dart_NativeArguments args) { |
| 118 Dart_ThrowException( |
| 119 DartUtils::NewInternalError("File is not supported on this platform")); |
| 120 } |
| 121 |
| 122 |
| 123 void FUNCTION_NAME(File_SetLastAccessed)(Dart_NativeArguments args) { |
| 124 Dart_ThrowException( |
| 125 DartUtils::NewInternalError("File is not supported on this platform")); |
| 126 } |
| 127 |
| 128 |
111 void FUNCTION_NAME(File_Flush)(Dart_NativeArguments args) { | 129 void FUNCTION_NAME(File_Flush)(Dart_NativeArguments args) { |
112 Dart_ThrowException( | 130 Dart_ThrowException( |
113 DartUtils::NewInternalError("File is not supported on this platform")); | 131 DartUtils::NewInternalError("File is not supported on this platform")); |
114 } | 132 } |
115 | 133 |
116 | 134 |
117 void FUNCTION_NAME(File_Lock)(Dart_NativeArguments args) { | 135 void FUNCTION_NAME(File_Lock)(Dart_NativeArguments args) { |
118 Dart_ThrowException( | 136 Dart_ThrowException( |
119 DartUtils::NewInternalError("File is not supported on this platform")); | 137 DartUtils::NewInternalError("File is not supported on this platform")); |
120 } | 138 } |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 | 218 |
201 void FUNCTION_NAME(File_AreIdentical)(Dart_NativeArguments args) { | 219 void FUNCTION_NAME(File_AreIdentical)(Dart_NativeArguments args) { |
202 Dart_ThrowException( | 220 Dart_ThrowException( |
203 DartUtils::NewInternalError("File is not supported on this platform")); | 221 DartUtils::NewInternalError("File is not supported on this platform")); |
204 } | 222 } |
205 | 223 |
206 } // namespace bin | 224 } // namespace bin |
207 } // namespace dart | 225 } // namespace dart |
208 | 226 |
209 #endif // !defined(DART_IO_DISABLED) | 227 #endif // !defined(DART_IO_DISABLED) |
OLD | NEW |