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

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: win32, android build Created 4 years, 11 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
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 739 matching lines...) Expand 10 before | Expand all | Expand 10 after
750 * \param get_service_assets A function to be called by the service isolate when 750 * \param get_service_assets A function to be called by the service isolate when
751 * it requires the vmservice assets archive. 751 * it requires the vmservice assets archive.
752 * See Dart_GetVMServiceAssetsArchive. 752 * See Dart_GetVMServiceAssetsArchive.
753 * 753 *
754 * \return NULL if initialization is successful. Returns an error message 754 * \return NULL if initialization is successful. Returns an error message
755 * otherwise. The caller is responsible for freeing the error message. 755 * otherwise. The caller is responsible for freeing the error message.
756 */ 756 */
757 DART_EXPORT char* Dart_Initialize( 757 DART_EXPORT char* Dart_Initialize(
758 const uint8_t* vm_isolate_snapshot, 758 const uint8_t* vm_isolate_snapshot,
759 const uint8_t* instructions_snapshot, 759 const uint8_t* instructions_snapshot,
760 const uint8_t* data_snapshot,
760 Dart_IsolateCreateCallback create, 761 Dart_IsolateCreateCallback create,
761 Dart_IsolateInterruptCallback interrupt, 762 Dart_IsolateInterruptCallback interrupt,
762 Dart_IsolateUnhandledExceptionCallback unhandled_exception, 763 Dart_IsolateUnhandledExceptionCallback unhandled_exception,
763 Dart_IsolateShutdownCallback shutdown, 764 Dart_IsolateShutdownCallback shutdown,
764 Dart_FileOpenCallback file_open, 765 Dart_FileOpenCallback file_open,
765 Dart_FileReadCallback file_read, 766 Dart_FileReadCallback file_read,
766 Dart_FileWriteCallback file_write, 767 Dart_FileWriteCallback file_write,
767 Dart_FileCloseCallback file_close, 768 Dart_FileCloseCallback file_close,
768 Dart_EntropySource entropy_source, 769 Dart_EntropySource entropy_source,
769 Dart_GetVMServiceAssetsArchive get_service_assets); 770 Dart_GetVMServiceAssetsArchive get_service_assets);
(...skipping 2035 matching lines...) Expand 10 before | Expand all | Expand 10 after
2805 intptr_t* vm_isolate_snapshot_size, 2806 intptr_t* vm_isolate_snapshot_size,
2806 uint8_t** isolate_snapshot_buffer, 2807 uint8_t** isolate_snapshot_buffer,
2807 intptr_t* isolate_snapshot_size, 2808 intptr_t* isolate_snapshot_size,
2808 uint8_t** instructions_snapshot_buffer, 2809 uint8_t** instructions_snapshot_buffer,
2809 intptr_t* instructions_snapshot_size); 2810 intptr_t* instructions_snapshot_size);
2810 2811
2811 2812
2812 DART_EXPORT bool Dart_IsRunningPrecompiledCode(); 2813 DART_EXPORT bool Dart_IsRunningPrecompiledCode();
2813 2814
2814 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */ 2815 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */
OLDNEW
« no previous file with comments | « runtime/bin/run_vm_tests.cc ('k') | runtime/vm/dart.h » ('j') | runtime/vm/heap.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698