mirror of
https://github.com/dart-lang/sdk
synced 2024-11-05 18:22:09 +00:00
[dart:io] Add new functions to file_unsupported.cc.
Review-Url: https://codereview.chromium.org/2685153003 .
This commit is contained in:
parent
3f5458cdcb
commit
a4c42824ed
1 changed files with 18 additions and 0 deletions
|
@ -108,6 +108,24 @@ void FUNCTION_NAME(File_LastModified)(Dart_NativeArguments args) {
|
|||
}
|
||||
|
||||
|
||||
void FUNCTION_NAME(File_LastAccessed)(Dart_NativeArguments args) {
|
||||
Dart_ThrowException(
|
||||
DartUtils::NewInternalError("File is not supported on this platform"));
|
||||
}
|
||||
|
||||
|
||||
void FUNCTION_NAME(File_SetLastModified)(Dart_NativeArguments args) {
|
||||
Dart_ThrowException(
|
||||
DartUtils::NewInternalError("File is not supported on this platform"));
|
||||
}
|
||||
|
||||
|
||||
void FUNCTION_NAME(File_SetLastAccessed)(Dart_NativeArguments args) {
|
||||
Dart_ThrowException(
|
||||
DartUtils::NewInternalError("File is not supported on this platform"));
|
||||
}
|
||||
|
||||
|
||||
void FUNCTION_NAME(File_Flush)(Dart_NativeArguments args) {
|
||||
Dart_ThrowException(
|
||||
DartUtils::NewInternalError("File is not supported on this platform"));
|
||||
|
|
Loading…
Reference in a new issue