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

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

Issue 2527473002: Fix gen_snapshot product mode build (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/gen_snapshot.cc ('k') | runtime/vm/dart_api_impl.cc » ('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 2913 matching lines...) Expand 10 before | Expand all | Expand 10 after
2924 DART_EXPORT Dart_Handle Dart_GetClass(Dart_Handle library, 2924 DART_EXPORT Dart_Handle Dart_GetClass(Dart_Handle library,
2925 Dart_Handle class_name); 2925 Dart_Handle class_name);
2926 /* TODO(asiva): The above method needs to be removed once all uses 2926 /* TODO(asiva): The above method needs to be removed once all uses
2927 * of it are removed from the embedder code. */ 2927 * of it are removed from the embedder code. */
2928 2928
2929 /** 2929 /**
2930 * Returns the url from which a library was loaded. 2930 * Returns the url from which a library was loaded.
2931 */ 2931 */
2932 DART_EXPORT Dart_Handle Dart_LibraryUrl(Dart_Handle library); 2932 DART_EXPORT Dart_Handle Dart_LibraryUrl(Dart_Handle library);
2933 2933
2934
2935 /**
2936 * \return An array of libraries.
2937 */
2938 DART_EXPORT Dart_Handle Dart_GetLoadedLibraries();
2939
2940
2934 DART_EXPORT Dart_Handle Dart_LookupLibrary(Dart_Handle url); 2941 DART_EXPORT Dart_Handle Dart_LookupLibrary(Dart_Handle url);
2935 /* TODO(turnidge): Consider returning Dart_Null() when the library is 2942 /* TODO(turnidge): Consider returning Dart_Null() when the library is
2936 * not found to distinguish that from a true error case. */ 2943 * not found to distinguish that from a true error case. */
2937 2944
2938 2945
2939 /** 2946 /**
2940 * Report an loading error for the library. 2947 * Report an loading error for the library.
2941 * 2948 *
2942 * \param library The library that failed to load. 2949 * \param library The library that failed to load.
2943 * \param error The Dart error instance containing the load error. 2950 * \param error The Dart error instance containing the load error.
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
3254 3261
3255 3262
3256 /** 3263 /**
3257 * Returns whether the VM only supports running from precompiled snapshots and 3264 * Returns whether the VM only supports running from precompiled snapshots and
3258 * not from any other kind of snapshot or from source (that is, the VM was 3265 * not from any other kind of snapshot or from source (that is, the VM was
3259 * compiled with DART_PRECOMPILED_RUNTIME). 3266 * compiled with DART_PRECOMPILED_RUNTIME).
3260 */ 3267 */
3261 DART_EXPORT bool Dart_IsPrecompiledRuntime(); 3268 DART_EXPORT bool Dart_IsPrecompiledRuntime();
3262 3269
3263 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */ 3270 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */
OLDNEW
« no previous file with comments | « runtime/bin/gen_snapshot.cc ('k') | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698