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

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

Issue 2475523002: Reload native extensions when starting from a snapshot. (Closed)
Patch Set: comment 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 flattened list of pairs. The first element in each pair is the
2946 * importing library and and the second element is the imported library for each
2947 * import in the isolate of a library whose 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 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
3186 3199
3187 3200
3188 /** 3201 /**
3189 * Returns whether the VM only supports running from precompiled snapshots and 3202 * Returns whether the VM only supports running from precompiled snapshots and
3190 * not from any other kind of snapshot or from source (that is, the VM was 3203 * not from any other kind of snapshot or from source (that is, the VM was
3191 * compiled with DART_PRECOMPILED_RUNTIME). 3204 * compiled with DART_PRECOMPILED_RUNTIME).
3192 */ 3205 */
3193 DART_EXPORT bool Dart_IsPrecompiledRuntime(); 3206 DART_EXPORT bool Dart_IsPrecompiledRuntime();
3194 3207
3195 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */ 3208 #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