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 1418833004: VM: Service isolate under precompilation. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: typo Created 5 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/vmservice_impl.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 2696 matching lines...) Expand 10 before | Expand all | Expand 10 after
2707 /** 2707 /**
2708 * Gets the library for the root script for the current isolate. 2708 * Gets the library for the root script for the current isolate.
2709 * 2709 *
2710 * If the root script has not yet been set for the current isolate, 2710 * If the root script has not yet been set for the current isolate,
2711 * this function returns Dart_Null(). This function never returns an 2711 * this function returns Dart_Null(). This function never returns an
2712 * error handle. 2712 * error handle.
2713 * 2713 *
2714 * \return Returns the root Library for the current isolate or Dart_Null(). 2714 * \return Returns the root Library for the current isolate or Dart_Null().
2715 */ 2715 */
2716 DART_EXPORT Dart_Handle Dart_RootLibrary(); 2716 DART_EXPORT Dart_Handle Dart_RootLibrary();
2717 DART_EXPORT Dart_Handle Dart_SetRootLibrary(Dart_Handle library);
Cutch 2015/10/29 21:15:32 This needs proper API comments. Also a heart beat
rmacnak 2015/10/29 22:07:32 Done.
2717 2718
2718 /** 2719 /**
2719 * Lookup or instantiate a type by name and type arguments from a Library. 2720 * Lookup or instantiate a type by name and type arguments from a Library.
2720 * 2721 *
2721 * \param library The library containing the class or interface. 2722 * \param library The library containing the class or interface.
2722 * \param class_name The class name for the type. 2723 * \param class_name The class name for the type.
2723 * \param number_of_type_arguments Number of type arguments. 2724 * \param number_of_type_arguments Number of type arguments.
2724 * For non parametric types the number of type arguments would be 0. 2725 * For non parametric types the number of type arguments would be 0.
2725 * \param type_arguments Pointer to an array of type arguments. 2726 * \param type_arguments Pointer to an array of type arguments.
2726 * For non parameteric types a NULL would be passed in for this argument. 2727 * For non parameteric types a NULL would be passed in for this argument.
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
2943 2944
2944 DART_EXPORT Dart_Handle Dart_CreatePrecompiledSnapshot( 2945 DART_EXPORT Dart_Handle Dart_CreatePrecompiledSnapshot(
2945 uint8_t** vm_isolate_snapshot_buffer, 2946 uint8_t** vm_isolate_snapshot_buffer,
2946 intptr_t* vm_isolate_snapshot_size, 2947 intptr_t* vm_isolate_snapshot_size,
2947 uint8_t** isolate_snapshot_buffer, 2948 uint8_t** isolate_snapshot_buffer,
2948 intptr_t* isolate_snapshot_size, 2949 intptr_t* isolate_snapshot_size,
2949 uint8_t** instructions_snapshot_buffer, 2950 uint8_t** instructions_snapshot_buffer,
2950 intptr_t* instructions_snapshot_size); 2951 intptr_t* instructions_snapshot_size);
2951 2952
2952 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */ 2953 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */
OLDNEW
« no previous file with comments | « runtime/bin/vmservice_impl.cc ('k') | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698