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

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

Issue 407143004: Change the Dart API call Dart_FInalizeLoading to accept an additional argument (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « runtime/bin/dartutils.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 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 2652 matching lines...) Expand 10 before | Expand all | Expand 10 after
2663 * \param library A library 2663 * \param library A library
2664 * \param url A url identifying the origin of the patch source 2664 * \param url A url identifying the origin of the patch source
2665 * \param source A string of Dart patch source 2665 * \param source A string of Dart patch source
2666 */ 2666 */
2667 DART_EXPORT Dart_Handle Dart_LibraryLoadPatch(Dart_Handle library, 2667 DART_EXPORT Dart_Handle Dart_LibraryLoadPatch(Dart_Handle library,
2668 Dart_Handle url, 2668 Dart_Handle url,
2669 Dart_Handle patch_source); 2669 Dart_Handle patch_source);
2670 2670
2671 2671
2672 /** 2672 /**
2673 * Indicates that all outstanding load requests have been satisfied, 2673 * Indicates that all outstanding load requests have been satisfied.
2674 * finalizing classes and completing deferred library futures. 2674 * This finalizes all the new classes loaded and optionally completes
2675 * deferred library futures.
2675 * 2676 *
2676 * Requires there to be a current isolate. 2677 * Requires there to be a current isolate.
2677 * 2678 *
2678 * \return Success if all deferred library futures are completed. 2679 * \param complete_futures Specify true if all deferred library
2679 * Otherwise, returns an error. 2680 * futures should be completed, false otherwise.
2681 *
2682 * \return Success if all classes have been finalized and deferred library
2683 * futures are completed. Otherwise, returns an error.
2680 */ 2684 */
2681 DART_EXPORT Dart_Handle Dart_FinalizeLoading(); 2685 DART_EXPORT Dart_Handle Dart_FinalizeLoading(bool complete_futures);
2682 2686
2683 2687
2684 /* 2688 /*
2685 * ===== 2689 * =====
2686 * Peers 2690 * Peers
2687 * ===== 2691 * =====
2688 */ 2692 */
2689 2693
2690 /** 2694 /**
2691 * The peer field is a lazily allocated field intendend for storage of 2695 * The peer field is a lazily allocated field intendend for storage of
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
2810 * NOTE: If multiple callbacks with the same name are registered, only the 2814 * NOTE: If multiple callbacks with the same name are registered, only the
2811 * last callback registered will be remembered. 2815 * last callback registered will be remembered.
2812 */ 2816 */
2813 DART_EXPORT void Dart_RegisterRootServiceRequestCallback( 2817 DART_EXPORT void Dart_RegisterRootServiceRequestCallback(
2814 const char* name, 2818 const char* name,
2815 Dart_ServiceRequestCallback callback, 2819 Dart_ServiceRequestCallback callback,
2816 void* user_data); 2820 void* user_data);
2817 2821
2818 2822
2819 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */ 2823 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */
OLDNEW
« no previous file with comments | « runtime/bin/dartutils.cc ('k') | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698