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

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

Issue 1311963002: Add argument to Dart_Initialize for precompiled instructions. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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 847 matching lines...) Expand 10 before | Expand all | Expand 10 after
858 * See Dart_IsolateInterruptCallback. 858 * See Dart_IsolateInterruptCallback.
859 * \param unhandled_exception A function to be called if an isolate has an 859 * \param unhandled_exception A function to be called if an isolate has an
860 * unhandled exception. Set Dart_IsolateUnhandledExceptionCallback. 860 * unhandled exception. Set Dart_IsolateUnhandledExceptionCallback.
861 * \param shutdown A function to be called when an isolate is shutdown. 861 * \param shutdown A function to be called when an isolate is shutdown.
862 * See Dart_IsolateShutdownCallback. 862 * See Dart_IsolateShutdownCallback.
863 * 863 *
864 * \return True if initialization is successful. 864 * \return True if initialization is successful.
865 */ 865 */
866 DART_EXPORT bool Dart_Initialize( 866 DART_EXPORT bool Dart_Initialize(
867 const uint8_t* vm_isolate_snapshot, 867 const uint8_t* vm_isolate_snapshot,
868 const uint8_t* instructions_snapshot,
868 Dart_IsolateCreateCallback create, 869 Dart_IsolateCreateCallback create,
869 Dart_IsolateInterruptCallback interrupt, 870 Dart_IsolateInterruptCallback interrupt,
870 Dart_IsolateUnhandledExceptionCallback unhandled_exception, 871 Dart_IsolateUnhandledExceptionCallback unhandled_exception,
871 Dart_IsolateShutdownCallback shutdown, 872 Dart_IsolateShutdownCallback shutdown,
872 Dart_FileOpenCallback file_open, 873 Dart_FileOpenCallback file_open,
873 Dart_FileReadCallback file_read, 874 Dart_FileReadCallback file_read,
874 Dart_FileWriteCallback file_write, 875 Dart_FileWriteCallback file_write,
875 Dart_FileCloseCallback file_close, 876 Dart_FileCloseCallback file_close,
876 Dart_EntropySource entropy_source); 877 Dart_EntropySource entropy_source);
877 878
(...skipping 1974 matching lines...) Expand 10 before | Expand all | Expand 10 after
2852 2853
2853 /** 2854 /**
2854 * Returns the port that script load requests should be sent on. 2855 * Returns the port that script load requests should be sent on.
2855 * 2856 *
2856 * \return Returns the port for load requests or ILLEGAL_PORT if the service 2857 * \return Returns the port for load requests or ILLEGAL_PORT if the service
2857 * isolate failed to startup or does not support load requests. 2858 * isolate failed to startup or does not support load requests.
2858 */ 2859 */
2859 DART_EXPORT Dart_Port Dart_ServiceWaitForLoadPort(); 2860 DART_EXPORT Dart_Port Dart_ServiceWaitForLoadPort();
2860 2861
2861 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */ 2862 #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