| Index: runtime/bin/socket_common_unsupported.cc
|
| diff --git a/runtime/bin/socket_unsupported.cc b/runtime/bin/socket_common_unsupported.cc
|
| similarity index 75%
|
| rename from runtime/bin/socket_unsupported.cc
|
| rename to runtime/bin/socket_common_unsupported.cc
|
| index 39b2f57e497e7fcbad606f382e4a5bde31524be9..f592fe0d3b0fe493d652255ea625b26a23b981b6 100644
|
| --- a/runtime/bin/socket_unsupported.cc
|
| +++ b/runtime/bin/socket_common_unsupported.cc
|
| @@ -39,7 +39,7 @@ void FUNCTION_NAME(Socket_CreateBindConnect)(Dart_NativeArguments args) {
|
| }
|
|
|
|
|
| -void FUNCTION_NAME(Socket_IsBindError)(Dart_NativeArguments args) {
|
| +void FUNCTION_NAME(BaseSocket_IsBindError)(Dart_NativeArguments args) {
|
| Dart_ThrowException(
|
| DartUtils::NewDartArgumentError("Sockets unsupported on this platform"));
|
| }
|
| @@ -51,73 +51,73 @@ void FUNCTION_NAME(Socket_CreateBindDatagram)(Dart_NativeArguments args) {
|
| }
|
|
|
|
|
| -void FUNCTION_NAME(Socket_Available)(Dart_NativeArguments args) {
|
| +void FUNCTION_NAME(BaseSocket_Available)(Dart_NativeArguments args) {
|
| Dart_ThrowException(
|
| DartUtils::NewDartArgumentError("Sockets unsupported on this platform"));
|
| }
|
|
|
|
|
| -void FUNCTION_NAME(Socket_Read)(Dart_NativeArguments args) {
|
| +void FUNCTION_NAME(BaseSocket_Read)(Dart_NativeArguments args) {
|
| Dart_ThrowException(
|
| DartUtils::NewDartArgumentError("Sockets unsupported on this platform"));
|
| }
|
|
|
|
|
| -void FUNCTION_NAME(Socket_RecvFrom)(Dart_NativeArguments args) {
|
| +void FUNCTION_NAME(BaseSocket_RecvFrom)(Dart_NativeArguments args) {
|
| Dart_ThrowException(
|
| DartUtils::NewDartArgumentError("Sockets unsupported on this platform"));
|
| }
|
|
|
|
|
| -void FUNCTION_NAME(Socket_WriteList)(Dart_NativeArguments args) {
|
| +void FUNCTION_NAME(BaseSocket_WriteList)(Dart_NativeArguments args) {
|
| Dart_ThrowException(
|
| DartUtils::NewDartArgumentError("Sockets unsupported on this platform"));
|
| }
|
|
|
|
|
| -void FUNCTION_NAME(Socket_SendTo)(Dart_NativeArguments args) {
|
| +void FUNCTION_NAME(BaseSocket_SendTo)(Dart_NativeArguments args) {
|
| Dart_ThrowException(
|
| DartUtils::NewDartArgumentError("Sockets unsupported on this platform"));
|
| }
|
|
|
|
|
| -void FUNCTION_NAME(Socket_GetPort)(Dart_NativeArguments args) {
|
| +void FUNCTION_NAME(BaseSocket_GetPort)(Dart_NativeArguments args) {
|
| Dart_ThrowException(
|
| DartUtils::NewDartArgumentError("Sockets unsupported on this platform"));
|
| }
|
|
|
|
|
| -void FUNCTION_NAME(Socket_GetRemotePeer)(Dart_NativeArguments args) {
|
| +void FUNCTION_NAME(BaseSocket_GetRemotePeer)(Dart_NativeArguments args) {
|
| Dart_ThrowException(
|
| DartUtils::NewDartArgumentError("Sockets unsupported on this platform"));
|
| }
|
|
|
|
|
| -void FUNCTION_NAME(Socket_GetError)(Dart_NativeArguments args) {
|
| +void FUNCTION_NAME(BaseSocket_GetError)(Dart_NativeArguments args) {
|
| Dart_ThrowException(
|
| DartUtils::NewDartArgumentError("Sockets unsupported on this platform"));
|
| }
|
|
|
|
|
| -void FUNCTION_NAME(Socket_GetType)(Dart_NativeArguments args) {
|
| +void FUNCTION_NAME(BaseSocket_GetType)(Dart_NativeArguments args) {
|
| Dart_ThrowException(
|
| DartUtils::NewDartArgumentError("Sockets unsupported on this platform"));
|
| }
|
|
|
|
|
| -void FUNCTION_NAME(Socket_GetStdioHandle)(Dart_NativeArguments args) {
|
| +void FUNCTION_NAME(BaseSocket_GetStdioHandle)(Dart_NativeArguments args) {
|
| Dart_ThrowException(
|
| DartUtils::NewDartArgumentError("Sockets unsupported on this platform"));
|
| }
|
|
|
|
|
| -void FUNCTION_NAME(Socket_GetSocketId)(Dart_NativeArguments args) {
|
| +void FUNCTION_NAME(BaseSocket_GetSocketId)(Dart_NativeArguments args) {
|
| Dart_ThrowException(
|
| DartUtils::NewDartArgumentError("Sockets unsupported on this platform"));
|
| }
|
|
|
|
|
| -void FUNCTION_NAME(Socket_SetSocketId)(Dart_NativeArguments args) {
|
| +void FUNCTION_NAME(BaseSocket_SetSocketId)(Dart_NativeArguments args) {
|
| Dart_ThrowException(
|
| DartUtils::NewDartArgumentError("Sockets unsupported on this platform"));
|
| }
|
| @@ -135,25 +135,25 @@ void FUNCTION_NAME(ServerSocket_Accept)(Dart_NativeArguments args) {
|
| }
|
|
|
|
|
| -void FUNCTION_NAME(Socket_GetOption)(Dart_NativeArguments args) {
|
| +void FUNCTION_NAME(BaseSocket_GetOption)(Dart_NativeArguments args) {
|
| Dart_ThrowException(
|
| DartUtils::NewDartArgumentError("Sockets unsupported on this platform"));
|
| }
|
|
|
|
|
| -void FUNCTION_NAME(Socket_SetOption)(Dart_NativeArguments args) {
|
| +void FUNCTION_NAME(BaseSocket_SetOption)(Dart_NativeArguments args) {
|
| Dart_ThrowException(
|
| DartUtils::NewDartArgumentError("Sockets unsupported on this platform"));
|
| }
|
|
|
|
|
| -void FUNCTION_NAME(Socket_JoinMulticast)(Dart_NativeArguments args) {
|
| +void FUNCTION_NAME(BaseSocket_JoinMulticast)(Dart_NativeArguments args) {
|
| Dart_ThrowException(
|
| DartUtils::NewDartArgumentError("Sockets unsupported on this platform"));
|
| }
|
|
|
|
|
| -void FUNCTION_NAME(Socket_LeaveMulticast)(Dart_NativeArguments args) {
|
| +void FUNCTION_NAME(BaseSocket_LeaveMulticast)(Dart_NativeArguments args) {
|
| Dart_ThrowException(
|
| DartUtils::NewDartArgumentError("Sockets unsupported on this platform"));
|
| }
|
|
|