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

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

Issue 1584443002: VM: Precompiled rodata snapshot. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: compute string hash if necessary Created 4 years, 10 months 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/run_vm_tests.cc ('k') | runtime/vm/dart.h » ('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 779 matching lines...) Expand 10 before | Expand all | Expand 10 after
790 * \param get_service_assets A function to be called by the service isolate when 790 * \param get_service_assets A function to be called by the service isolate when
791 * it requires the vmservice assets archive. 791 * it requires the vmservice assets archive.
792 * See Dart_GetVMServiceAssetsArchive. 792 * See Dart_GetVMServiceAssetsArchive.
793 * 793 *
794 * \return NULL if initialization is successful. Returns an error message 794 * \return NULL if initialization is successful. Returns an error message
795 * otherwise. The caller is responsible for freeing the error message. 795 * otherwise. The caller is responsible for freeing the error message.
796 */ 796 */
797 DART_EXPORT char* Dart_Initialize( 797 DART_EXPORT char* Dart_Initialize(
798 const uint8_t* vm_isolate_snapshot, 798 const uint8_t* vm_isolate_snapshot,
799 const uint8_t* instructions_snapshot, 799 const uint8_t* instructions_snapshot,
800 const uint8_t* data_snapshot,
800 Dart_IsolateCreateCallback create, 801 Dart_IsolateCreateCallback create,
801 Dart_IsolateInterruptCallback interrupt, 802 Dart_IsolateInterruptCallback interrupt,
802 Dart_IsolateUnhandledExceptionCallback unhandled_exception, 803 Dart_IsolateUnhandledExceptionCallback unhandled_exception,
803 Dart_IsolateShutdownCallback shutdown, 804 Dart_IsolateShutdownCallback shutdown,
804 Dart_FileOpenCallback file_open, 805 Dart_FileOpenCallback file_open,
805 Dart_FileReadCallback file_read, 806 Dart_FileReadCallback file_read,
806 Dart_FileWriteCallback file_write, 807 Dart_FileWriteCallback file_write,
807 Dart_FileCloseCallback file_close, 808 Dart_FileCloseCallback file_close,
808 Dart_EntropySource entropy_source, 809 Dart_EntropySource entropy_source,
809 Dart_GetVMServiceAssetsArchive get_service_assets); 810 Dart_GetVMServiceAssetsArchive get_service_assets);
(...skipping 2140 matching lines...) Expand 10 before | Expand all | Expand 10 after
2950 intptr_t* vm_isolate_snapshot_size, 2951 intptr_t* vm_isolate_snapshot_size,
2951 uint8_t** isolate_snapshot_buffer, 2952 uint8_t** isolate_snapshot_buffer,
2952 intptr_t* isolate_snapshot_size, 2953 intptr_t* isolate_snapshot_size,
2953 uint8_t** instructions_snapshot_buffer, 2954 uint8_t** instructions_snapshot_buffer,
2954 intptr_t* instructions_snapshot_size); 2955 intptr_t* instructions_snapshot_size);
2955 2956
2956 2957
2957 DART_EXPORT bool Dart_IsRunningPrecompiledCode(); 2958 DART_EXPORT bool Dart_IsRunningPrecompiledCode();
2958 2959
2959 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */ 2960 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */
OLDNEW
« no previous file with comments | « runtime/bin/run_vm_tests.cc ('k') | runtime/vm/dart.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698