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

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

Issue 1965823002: Initial isolate reload support (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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 | « no previous file | runtime/lib/developer.cc » ('j') | runtime/vm/become.cc » ('J')
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 2640 matching lines...) Expand 10 before | Expand all | Expand 10 after
2651 /* 2651 /*
2652 * ===================== 2652 * =====================
2653 * Scripts and Libraries 2653 * Scripts and Libraries
2654 * ===================== 2654 * =====================
2655 */ 2655 */
2656 /* TODO(turnidge): Finish documenting this section. */ 2656 /* TODO(turnidge): Finish documenting this section. */
2657 2657
2658 typedef enum { 2658 typedef enum {
2659 Dart_kImportTag = 0, 2659 Dart_kImportTag = 0,
2660 Dart_kSourceTag, 2660 Dart_kSourceTag,
2661 Dart_kCanonicalizeUrl 2661 Dart_kCanonicalizeUrl,
2662 Dart_kScriptTag,
2662 } Dart_LibraryTag; 2663 } Dart_LibraryTag;
2663 2664
2664 /* TODO(turnidge): Document. */ 2665 /* TODO(turnidge): Document. */
2665 typedef Dart_Handle (*Dart_LibraryTagHandler)(Dart_LibraryTag tag, 2666 typedef Dart_Handle (*Dart_LibraryTagHandler)(Dart_LibraryTag tag,
2666 Dart_Handle library, 2667 Dart_Handle library,
2667 Dart_Handle url); 2668 Dart_Handle url);
2668 2669
2669 /** 2670 /**
2670 * Sets library tag handler for the current isolate. This handler is 2671 * Sets library tag handler for the current isolate. This handler is
2671 * used to handle the various tags encountered while loading libraries 2672 * used to handle the various tags encountered while loading libraries
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
3023 /** 3024 /**
3024 * Returns whether the VM was initialized with a precompiled snapshot. Only 3025 * Returns whether the VM was initialized with a precompiled snapshot. Only
3025 * valid after Dart_Initialize. 3026 * valid after Dart_Initialize.
3026 * DEPRECATED. This is currently used to disable Platform.executable and 3027 * DEPRECATED. This is currently used to disable Platform.executable and
3027 * Platform.resolvedExecutable under precompilation to prevent process 3028 * Platform.resolvedExecutable under precompilation to prevent process
3028 * spawning tests from becoming fork-bombs. 3029 * spawning tests from becoming fork-bombs.
3029 */ 3030 */
3030 DART_EXPORT bool Dart_IsRunningPrecompiledCode(); 3031 DART_EXPORT bool Dart_IsRunningPrecompiledCode();
3031 3032
3032 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */ 3033 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */
OLDNEW
« no previous file with comments | « no previous file | runtime/lib/developer.cc » ('j') | runtime/vm/become.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698