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

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

Issue 2475523002: Reload native extensions when starting from a snapshot. (Closed)
Patch Set: . Created 4 years, 1 month 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/main.cc ('k') | runtime/observatory/lib/src/elements/library_view.dart » ('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 RUNTIME_INCLUDE_DART_API_H_ 7 #ifndef RUNTIME_INCLUDE_DART_API_H_
8 #define RUNTIME_INCLUDE_DART_API_H_ 8 #define RUNTIME_INCLUDE_DART_API_H_
9 9
10 /** \mainpage Dart Embedding API Reference 10 /** \mainpage Dart Embedding API Reference
(...skipping 2922 matching lines...) Expand 10 before | Expand all | Expand 10 after
2933 * \param library The library into which to import another library. 2933 * \param library The library into which to import another library.
2934 * \param import The library to import. 2934 * \param import The library to import.
2935 * \param prefix The prefix under which to import. 2935 * \param prefix The prefix under which to import.
2936 * 2936 *
2937 * \return A valid handle if no error occurs during the operation. 2937 * \return A valid handle if no error occurs during the operation.
2938 */ 2938 */
2939 DART_EXPORT Dart_Handle Dart_LibraryImportLibrary(Dart_Handle library, 2939 DART_EXPORT Dart_Handle Dart_LibraryImportLibrary(Dart_Handle library,
2940 Dart_Handle import, 2940 Dart_Handle import,
2941 Dart_Handle prefix); 2941 Dart_Handle prefix);
2942 2942
2943
2944 /**
2945 * Returns a list where each element 2n is an importing library and each element
Cutch 2016/11/07 22:24:16 How about: Returns a flattened list of pairs. The
rmacnak 2016/11/08 00:17:32 Done.
2946 * 2n+1 is an imported library for each import in the isolate of a library whose
2947 * URI's scheme is [scheme].
2948 *
2949 * Requires there to be a current isolate.
2950 *
2951 * \return A handle to a list of flattened pairs of importer-importee.
2952 */
2953 DART_EXPORT Dart_Handle Dart_GetImportsOfScheme(Dart_Handle scheme);
2954
2955
2943 /** 2956 /**
2944 * Called by the embedder to provide the source for a "part of" 2957 * Called by the embedder to provide the source for a "part of"
2945 * directive. This function should be called in response to a 2958 * directive. This function should be called in response to a
2946 * Dart_kSourceTag tag handler request (See Dart_LibraryTagHandler, 2959 * Dart_kSourceTag tag handler request (See Dart_LibraryTagHandler,
2947 * above). 2960 * above).
2948 * 2961 *
2949 * \param library The library where the "part of" directive occurs. 2962 * \param library The library where the "part of" directive occurs.
2950 * 2963 *
2951 * \param url The original url requested for the part. 2964 * \param url The original url requested for the part.
2952 * 2965 *
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
3196 /** 3209 /**
3197 * Returns whether the VM was initialized with a precompiled snapshot. Only 3210 * Returns whether the VM was initialized with a precompiled snapshot. Only
3198 * valid after Dart_Initialize. 3211 * valid after Dart_Initialize.
3199 * DEPRECATED. This is currently used to disable Platform.executable and 3212 * DEPRECATED. This is currently used to disable Platform.executable and
3200 * Platform.resolvedExecutable under precompilation to prevent process 3213 * Platform.resolvedExecutable under precompilation to prevent process
3201 * spawning tests from becoming fork-bombs. 3214 * spawning tests from becoming fork-bombs.
3202 */ 3215 */
3203 DART_EXPORT bool Dart_IsRunningPrecompiledCode(); 3216 DART_EXPORT bool Dart_IsRunningPrecompiledCode();
3204 3217
3205 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */ 3218 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */
OLDNEW
« no previous file with comments | « runtime/bin/main.cc ('k') | runtime/observatory/lib/src/elements/library_view.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698