| Index: runtime/bin/builtin_in.cc
|
| diff --git a/runtime/bin/builtin_in.cc b/runtime/bin/builtin_in.cc
|
| index 0d810f91b1cce9c9d91b524c54775a2edb52ad0e..fffcea4235b0253ecb224ec6aad6ecd9a7c04b22 100644
|
| --- a/runtime/bin/builtin_in.cc
|
| +++ b/runtime/bin/builtin_in.cc
|
| @@ -22,12 +22,13 @@ static const char Builtin_source_[] = {
|
| // List all native functions implemented in standalone dart that is used
|
| // to inject additional functionality e.g: Logger, file I/O, socket I/O etc.
|
| #define BUILTIN_NATIVE_LIST(V) \
|
| - V(Logger_PrintString, 1) \
|
| - V(Exit, 1) \
|
| V(Directory_List, 7) \
|
| V(Directory_Exists, 2) \
|
| V(Directory_Create, 2) \
|
| V(Directory_Delete, 2) \
|
| + V(EventHandler_Start, 1) \
|
| + V(EventHandler_SendData, 4) \
|
| + V(Exit, 1) \
|
| V(File_Open, 2) \
|
| V(File_Exists, 1) \
|
| V(File_Close, 1) \
|
| @@ -41,18 +42,20 @@ static const char Builtin_source_[] = {
|
| V(File_Flush, 1) \
|
| V(File_Create, 1) \
|
| V(File_FullPath, 1) \
|
| - V(EventHandler_Start, 1) \
|
| - V(EventHandler_SendData, 4) \
|
| + V(Logger_PrintString, 1) \
|
| + V(Platform_NumberOfProcessors, 0) \
|
| + V(Platform_OperatingSystem, 0) \
|
| + V(Platform_PathSeparator, 0) \
|
| V(Process_Start, 8) \
|
| V(Process_Kill, 2) \
|
| V(Process_Exit, 2) \
|
| + V(ServerSocket_CreateBindListen, 4) \
|
| + V(ServerSocket_Accept, 2) \
|
| V(Socket_CreateConnect, 3) \
|
| V(Socket_Available, 1) \
|
| V(Socket_ReadList, 4) \
|
| V(Socket_WriteList, 4) \
|
| - V(Socket_GetPort, 1) \
|
| - V(ServerSocket_CreateBindListen, 4) \
|
| - V(ServerSocket_Accept, 2) \
|
| + V(Socket_GetPort, 1)
|
|
|
|
|
| BUILTIN_NATIVE_LIST(DECLARE_FUNCTION);
|
|
|