Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(478)

Side by Side Diff: runtime/include/dart_api.h

Issue 1526123002: VM: Const-correctness fixes. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « runtime/bin/socket.h ('k') | runtime/lib/isolate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 */
OLDNEW
« no previous file with comments | « runtime/bin/socket.h ('k') | runtime/lib/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698