| Index: runtime/bin/file_unsupported.cc
|
| diff --git a/runtime/bin/file_unsupported.cc b/runtime/bin/file_unsupported.cc
|
| index 2655f778c2bb1183c2cae26d02543a1dfa922493..55a88d0a918feccbfeba5207396afecb7a17ad3a 100644
|
| --- a/runtime/bin/file_unsupported.cc
|
| +++ b/runtime/bin/file_unsupported.cc
|
| @@ -11,25 +11,32 @@
|
| namespace dart {
|
| namespace bin {
|
|
|
| -void FUNCTION_NAME(File_Open)(Dart_NativeArguments args) {
|
| +
|
| +void FUNCTION_NAME(File_GetPointer)(Dart_NativeArguments args) {
|
| Dart_ThrowException(DartUtils::NewInternalError(
|
| "File is not supported on this platform"));
|
| }
|
|
|
|
|
| -void FUNCTION_NAME(File_Exists)(Dart_NativeArguments args) {
|
| +void FUNCTION_NAME(File_SetPointer)(Dart_NativeArguments args) {
|
| Dart_ThrowException(DartUtils::NewInternalError(
|
| "File is not supported on this platform"));
|
| }
|
|
|
|
|
| -void FUNCTION_NAME(File_Close)(Dart_NativeArguments args) {
|
| +void FUNCTION_NAME(File_Open)(Dart_NativeArguments args) {
|
| + Dart_ThrowException(DartUtils::NewInternalError(
|
| + "File is not supported on this platform"));
|
| +}
|
| +
|
| +
|
| +void FUNCTION_NAME(File_Exists)(Dart_NativeArguments args) {
|
| Dart_ThrowException(DartUtils::NewInternalError(
|
| "File is not supported on this platform"));
|
| }
|
|
|
|
|
| -void FUNCTION_NAME(File_GetFD)(Dart_NativeArguments args) {
|
| +void FUNCTION_NAME(File_Close)(Dart_NativeArguments args) {
|
| Dart_ThrowException(DartUtils::NewInternalError(
|
| "File is not supported on this platform"));
|
| }
|
|
|