| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 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. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #include "bin/dartutils.h" | 5 #include "bin/dartutils.h" |
| 6 #include "bin/dbg_connection.h" | |
| 7 #include "bin/eventhandler.h" | |
| 8 #include "bin/io_buffer.h" | 6 #include "bin/io_buffer.h" |
| 9 #include "bin/log.h" | 7 #include "bin/log.h" |
| 10 #include "bin/platform.h" | 8 #include "bin/platform.h" |
| 11 #include "bin/process.h" | 9 #include "bin/process.h" |
| 12 #include "bin/socket.h" | 10 #include "bin/socket.h" |
| 13 #include "bin/utils.h" | 11 #include "bin/utils.h" |
| 14 | 12 |
| 15 #include "include/dart_api.h" | 13 #include "include/dart_api.h" |
| 16 | 14 |
| 17 namespace dart { | 15 namespace dart { |
| (...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 369 free(const_cast<char*>(system_string)); | 367 free(const_cast<char*>(system_string)); |
| 370 Dart_PropagateError(result); | 368 Dart_PropagateError(result); |
| 371 } | 369 } |
| 372 memmove(buffer, system_string, system_len); | 370 memmove(buffer, system_string, system_len); |
| 373 free(const_cast<char*>(system_string)); | 371 free(const_cast<char*>(system_string)); |
| 374 Dart_SetReturnValue(args, external_array); | 372 Dart_SetReturnValue(args, external_array); |
| 375 } | 373 } |
| 376 | 374 |
| 377 } // namespace bin | 375 } // namespace bin |
| 378 } // namespace dart | 376 } // namespace dart |
| OLD | NEW |