OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2 * Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
3 * for details. All rights reserved. Use of this source code is governed by a | 3 * for details. All rights reserved. Use of this source code is governed by a |
4 * BSD-style license that can be found in the LICENSE file. | 4 * BSD-style license that can be found in the LICENSE file. |
5 */ | 5 */ |
6 | 6 |
7 #ifndef INCLUDE_DART_API_H_ | 7 #ifndef INCLUDE_DART_API_H_ |
8 #define INCLUDE_DART_API_H_ | 8 #define INCLUDE_DART_API_H_ |
9 | 9 |
10 /** \mainpage Dart Embedding API Reference | 10 /** \mainpage Dart Embedding API Reference |
(...skipping 1774 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1785 DART_EXPORT Dart_Handle Dart_ListGetAsBytes(Dart_Handle list, | 1785 DART_EXPORT Dart_Handle Dart_ListGetAsBytes(Dart_Handle list, |
1786 intptr_t offset, | 1786 intptr_t offset, |
1787 uint8_t* native_array, | 1787 uint8_t* native_array, |
1788 intptr_t length); | 1788 intptr_t length); |
1789 | 1789 |
1790 /** | 1790 /** |
1791 * May generate an unhandled exception error. | 1791 * May generate an unhandled exception error. |
1792 */ | 1792 */ |
1793 DART_EXPORT Dart_Handle Dart_ListSetAsBytes(Dart_Handle list, | 1793 DART_EXPORT Dart_Handle Dart_ListSetAsBytes(Dart_Handle list, |
1794 intptr_t offset, | 1794 intptr_t offset, |
1795 uint8_t* native_array, | 1795 const uint8_t* native_array, |
1796 intptr_t length); | 1796 intptr_t length); |
1797 | 1797 |
1798 | 1798 |
1799 /* | 1799 /* |
1800 * ==== | 1800 * ==== |
1801 * Maps | 1801 * Maps |
1802 * ==== | 1802 * ==== |
1803 */ | 1803 */ |
1804 | 1804 |
1805 /** | 1805 /** |
(...skipping 1007 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2813 | 2813 |
2814 DART_EXPORT Dart_Handle Dart_CreatePrecompiledSnapshot( | 2814 DART_EXPORT Dart_Handle Dart_CreatePrecompiledSnapshot( |
2815 uint8_t** vm_isolate_snapshot_buffer, | 2815 uint8_t** vm_isolate_snapshot_buffer, |
2816 intptr_t* vm_isolate_snapshot_size, | 2816 intptr_t* vm_isolate_snapshot_size, |
2817 uint8_t** isolate_snapshot_buffer, | 2817 uint8_t** isolate_snapshot_buffer, |
2818 intptr_t* isolate_snapshot_size, | 2818 intptr_t* isolate_snapshot_size, |
2819 uint8_t** instructions_snapshot_buffer, | 2819 uint8_t** instructions_snapshot_buffer, |
2820 intptr_t* instructions_snapshot_size); | 2820 intptr_t* instructions_snapshot_size); |
2821 | 2821 |
2822 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */ | 2822 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */ |
OLD | NEW |