| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // BSD-style license that can be found in the LICENSE file. | |
| 4 | |
| 5 #if defined(DART_IO_DISABLED) | |
| 6 | |
| 7 #include "bin/builtin.h" | |
| 8 #include "bin/dartutils.h" | |
| 9 #include "include/dart_api.h" | |
| 10 | |
| 11 namespace dart { | |
| 12 namespace bin { | |
| 13 | |
| 14 void FUNCTION_NAME(File_GetPointer)(Dart_NativeArguments args) { | |
| 15 Dart_ThrowException( | |
| 16 DartUtils::NewInternalError("File is not supported on this platform")); | |
| 17 } | |
| 18 | |
| 19 void FUNCTION_NAME(File_SetPointer)(Dart_NativeArguments args) { | |
| 20 Dart_ThrowException( | |
| 21 DartUtils::NewInternalError("File is not supported on this platform")); | |
| 22 } | |
| 23 | |
| 24 void FUNCTION_NAME(File_Open)(Dart_NativeArguments args) { | |
| 25 Dart_ThrowException( | |
| 26 DartUtils::NewInternalError("File is not supported on this platform")); | |
| 27 } | |
| 28 | |
| 29 void FUNCTION_NAME(File_Exists)(Dart_NativeArguments args) { | |
| 30 Dart_ThrowException( | |
| 31 DartUtils::NewInternalError("File is not supported on this platform")); | |
| 32 } | |
| 33 | |
| 34 void FUNCTION_NAME(File_Close)(Dart_NativeArguments args) { | |
| 35 Dart_ThrowException( | |
| 36 DartUtils::NewInternalError("File is not supported on this platform")); | |
| 37 } | |
| 38 | |
| 39 void FUNCTION_NAME(File_ReadByte)(Dart_NativeArguments args) { | |
| 40 Dart_ThrowException( | |
| 41 DartUtils::NewInternalError("File is not supported on this platform")); | |
| 42 } | |
| 43 | |
| 44 void FUNCTION_NAME(File_WriteByte)(Dart_NativeArguments args) { | |
| 45 Dart_ThrowException( | |
| 46 DartUtils::NewInternalError("File is not supported on this platform")); | |
| 47 } | |
| 48 | |
| 49 void FUNCTION_NAME(File_Read)(Dart_NativeArguments args) { | |
| 50 Dart_ThrowException( | |
| 51 DartUtils::NewInternalError("File is not supported on this platform")); | |
| 52 } | |
| 53 | |
| 54 void FUNCTION_NAME(File_ReadInto)(Dart_NativeArguments args) { | |
| 55 Dart_ThrowException( | |
| 56 DartUtils::NewInternalError("File is not supported on this platform")); | |
| 57 } | |
| 58 | |
| 59 void FUNCTION_NAME(File_WriteFrom)(Dart_NativeArguments args) { | |
| 60 Dart_ThrowException( | |
| 61 DartUtils::NewInternalError("File is not supported on this platform")); | |
| 62 } | |
| 63 | |
| 64 void FUNCTION_NAME(File_Position)(Dart_NativeArguments args) { | |
| 65 Dart_ThrowException( | |
| 66 DartUtils::NewInternalError("File is not supported on this platform")); | |
| 67 } | |
| 68 | |
| 69 void FUNCTION_NAME(File_SetPosition)(Dart_NativeArguments args) { | |
| 70 Dart_ThrowException( | |
| 71 DartUtils::NewInternalError("File is not supported on this platform")); | |
| 72 } | |
| 73 | |
| 74 void FUNCTION_NAME(File_Truncate)(Dart_NativeArguments args) { | |
| 75 Dart_ThrowException( | |
| 76 DartUtils::NewInternalError("File is not supported on this platform")); | |
| 77 } | |
| 78 | |
| 79 void FUNCTION_NAME(File_Length)(Dart_NativeArguments args) { | |
| 80 Dart_ThrowException( | |
| 81 DartUtils::NewInternalError("File is not supported on this platform")); | |
| 82 } | |
| 83 | |
| 84 void FUNCTION_NAME(File_LengthFromPath)(Dart_NativeArguments args) { | |
| 85 Dart_ThrowException( | |
| 86 DartUtils::NewInternalError("File is not supported on this platform")); | |
| 87 } | |
| 88 | |
| 89 void FUNCTION_NAME(File_LastModified)(Dart_NativeArguments args) { | |
| 90 Dart_ThrowException( | |
| 91 DartUtils::NewInternalError("File is not supported on this platform")); | |
| 92 } | |
| 93 | |
| 94 void FUNCTION_NAME(File_LastAccessed)(Dart_NativeArguments args) { | |
| 95 Dart_ThrowException( | |
| 96 DartUtils::NewInternalError("File is not supported on this platform")); | |
| 97 } | |
| 98 | |
| 99 void FUNCTION_NAME(File_SetLastModified)(Dart_NativeArguments args) { | |
| 100 Dart_ThrowException( | |
| 101 DartUtils::NewInternalError("File is not supported on this platform")); | |
| 102 } | |
| 103 | |
| 104 void FUNCTION_NAME(File_SetLastAccessed)(Dart_NativeArguments args) { | |
| 105 Dart_ThrowException( | |
| 106 DartUtils::NewInternalError("File is not supported on this platform")); | |
| 107 } | |
| 108 | |
| 109 void FUNCTION_NAME(File_Flush)(Dart_NativeArguments args) { | |
| 110 Dart_ThrowException( | |
| 111 DartUtils::NewInternalError("File is not supported on this platform")); | |
| 112 } | |
| 113 | |
| 114 void FUNCTION_NAME(File_Lock)(Dart_NativeArguments args) { | |
| 115 Dart_ThrowException( | |
| 116 DartUtils::NewInternalError("File is not supported on this platform")); | |
| 117 } | |
| 118 | |
| 119 void FUNCTION_NAME(File_Create)(Dart_NativeArguments args) { | |
| 120 Dart_ThrowException( | |
| 121 DartUtils::NewInternalError("File is not supported on this platform")); | |
| 122 } | |
| 123 | |
| 124 void FUNCTION_NAME(File_CreateLink)(Dart_NativeArguments args) { | |
| 125 Dart_ThrowException( | |
| 126 DartUtils::NewInternalError("File is not supported on this platform")); | |
| 127 } | |
| 128 | |
| 129 void FUNCTION_NAME(File_LinkTarget)(Dart_NativeArguments args) { | |
| 130 Dart_ThrowException( | |
| 131 DartUtils::NewInternalError("File is not supported on this platform")); | |
| 132 } | |
| 133 | |
| 134 void FUNCTION_NAME(File_Delete)(Dart_NativeArguments args) { | |
| 135 Dart_ThrowException( | |
| 136 DartUtils::NewInternalError("File is not supported on this platform")); | |
| 137 } | |
| 138 | |
| 139 void FUNCTION_NAME(File_DeleteLink)(Dart_NativeArguments args) { | |
| 140 Dart_ThrowException( | |
| 141 DartUtils::NewInternalError("File is not supported on this platform")); | |
| 142 } | |
| 143 | |
| 144 void FUNCTION_NAME(File_Rename)(Dart_NativeArguments args) { | |
| 145 Dart_ThrowException( | |
| 146 DartUtils::NewInternalError("File is not supported on this platform")); | |
| 147 } | |
| 148 | |
| 149 void FUNCTION_NAME(File_RenameLink)(Dart_NativeArguments args) { | |
| 150 Dart_ThrowException( | |
| 151 DartUtils::NewInternalError("File is not supported on this platform")); | |
| 152 } | |
| 153 | |
| 154 void FUNCTION_NAME(File_Copy)(Dart_NativeArguments args) { | |
| 155 Dart_ThrowException( | |
| 156 DartUtils::NewInternalError("File is not supported on this platform")); | |
| 157 } | |
| 158 | |
| 159 void FUNCTION_NAME(File_ResolveSymbolicLinks)(Dart_NativeArguments args) { | |
| 160 Dart_ThrowException( | |
| 161 DartUtils::NewInternalError("File is not supported on this platform")); | |
| 162 } | |
| 163 | |
| 164 void FUNCTION_NAME(File_OpenStdio)(Dart_NativeArguments args) { | |
| 165 Dart_ThrowException( | |
| 166 DartUtils::NewInternalError("File is not supported on this platform")); | |
| 167 } | |
| 168 | |
| 169 void FUNCTION_NAME(File_GetStdioHandleType)(Dart_NativeArguments args) { | |
| 170 Dart_ThrowException( | |
| 171 DartUtils::NewInternalError("File is not supported on this platform")); | |
| 172 } | |
| 173 | |
| 174 void FUNCTION_NAME(File_GetType)(Dart_NativeArguments args) { | |
| 175 Dart_ThrowException( | |
| 176 DartUtils::NewInternalError("File is not supported on this platform")); | |
| 177 } | |
| 178 | |
| 179 void FUNCTION_NAME(File_Stat)(Dart_NativeArguments args) { | |
| 180 Dart_ThrowException( | |
| 181 DartUtils::NewInternalError("File is not supported on this platform")); | |
| 182 } | |
| 183 | |
| 184 void FUNCTION_NAME(File_AreIdentical)(Dart_NativeArguments args) { | |
| 185 Dart_ThrowException( | |
| 186 DartUtils::NewInternalError("File is not supported on this platform")); | |
| 187 } | |
| 188 | |
| 189 } // namespace bin | |
| 190 } // namespace dart | |
| 191 | |
| 192 #endif // !defined(DART_IO_DISABLED) | |
| OLD | NEW |