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

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

Issue 1553233002: Add package config support to dart:isolate (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Addressed review comments. 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 627 matching lines...) Expand 10 before | Expand all | Expand 10 after
638 * parent isolate when it was created by calling Dart_CreateIsolate(). 638 * parent isolate when it was created by calling Dart_CreateIsolate().
639 * \param error A structure into which the embedder can place a 639 * \param error A structure into which the embedder can place a
640 * C string containing an error message in the case of failures. 640 * C string containing an error message in the case of failures.
641 * 641 *
642 * \return The embedder returns NULL if the creation and 642 * \return The embedder returns NULL if the creation and
643 * initialization was not successful and the isolate if successful. 643 * initialization was not successful and the isolate if successful.
644 */ 644 */
645 typedef Dart_Isolate (*Dart_IsolateCreateCallback)(const char* script_uri, 645 typedef Dart_Isolate (*Dart_IsolateCreateCallback)(const char* script_uri,
646 const char* main, 646 const char* main,
647 const char* package_root, 647 const char* package_root,
648 const char** package_map, 648 const char* package_config,
649 Dart_IsolateFlags* flags, 649 Dart_IsolateFlags* flags,
650 void* callback_data, 650 void* callback_data,
651 char** error); 651 char** error);
652 652
653 /** 653 /**
654 * An isolate interrupt callback function. 654 * An isolate interrupt callback function.
655 * 655 *
656 * This callback has been DEPRECATED. 656 * This callback has been DEPRECATED.
657 */ 657 */
658 typedef bool (*Dart_IsolateInterruptCallback)(); 658 typedef bool (*Dart_IsolateInterruptCallback)();
(...skipping 2146 matching lines...) Expand 10 before | Expand all | Expand 10 after
2805 intptr_t* vm_isolate_snapshot_size, 2805 intptr_t* vm_isolate_snapshot_size,
2806 uint8_t** isolate_snapshot_buffer, 2806 uint8_t** isolate_snapshot_buffer,
2807 intptr_t* isolate_snapshot_size, 2807 intptr_t* isolate_snapshot_size,
2808 uint8_t** instructions_snapshot_buffer, 2808 uint8_t** instructions_snapshot_buffer,
2809 intptr_t* instructions_snapshot_size); 2809 intptr_t* instructions_snapshot_size);
2810 2810
2811 2811
2812 DART_EXPORT bool Dart_IsRunningPrecompiledCode(); 2812 DART_EXPORT bool Dart_IsRunningPrecompiledCode();
2813 2813
2814 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */ 2814 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698