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

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

Issue 341543004: Adding embedder API function Dart_FinalizeLoading (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 6 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
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 2627 matching lines...) Expand 10 before | Expand all | Expand 10 after
2638 * 2638 *
2639 * \param library A library 2639 * \param library A library
2640 * \param url A url identifying the origin of the patch source 2640 * \param url A url identifying the origin of the patch source
2641 * \param source A string of Dart patch source 2641 * \param source A string of Dart patch source
2642 */ 2642 */
2643 DART_EXPORT Dart_Handle Dart_LibraryLoadPatch(Dart_Handle library, 2643 DART_EXPORT Dart_Handle Dart_LibraryLoadPatch(Dart_Handle library,
2644 Dart_Handle url, 2644 Dart_Handle url,
2645 Dart_Handle patch_source); 2645 Dart_Handle patch_source);
2646 2646
2647 2647
2648 /**
2649 * Indicates that all outstanding load requests have been satisfied,
2650 * finalizing classes and completing deferred library futures.
siva 2014/06/17 20:43:19 * * Requires there to be a current isolate. * * \r
hausner 2014/06/17 20:55:54 Done.
2651 */
2652 DART_EXPORT Dart_Handle Dart_FinalizeLoading();
2653
2654
2648 /* 2655 /*
2649 * ===== 2656 * =====
2650 * Peers 2657 * Peers
2651 * ===== 2658 * =====
2652 */ 2659 */
2653 2660
2654 /** 2661 /**
2655 * The peer field is a lazily allocated field intendend for storage of 2662 * The peer field is a lazily allocated field intendend for storage of
2656 * an uncommonly used values. Most instances types can have a peer 2663 * an uncommonly used values. Most instances types can have a peer
2657 * field allocated. The exceptions are subtypes of Null, num, and 2664 * field allocated. The exceptions are subtypes of Null, num, and
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
2774 * NOTE: If multiple callbacks with the same name are registered, only the 2781 * NOTE: If multiple callbacks with the same name are registered, only the
2775 * last callback registered will be remembered. 2782 * last callback registered will be remembered.
2776 */ 2783 */
2777 DART_EXPORT void Dart_RegisterRootServiceRequestCallback( 2784 DART_EXPORT void Dart_RegisterRootServiceRequestCallback(
2778 const char* name, 2785 const char* name,
2779 Dart_ServiceRequestCallback callback, 2786 Dart_ServiceRequestCallback callback,
2780 void* user_data); 2787 void* user_data);
2781 2788
2782 2789
2783 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */ 2790 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698