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

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

Issue 2554953004: Revert "Add Kernel Isolate" (Closed)
Patch Set: Created 4 years 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/tools/kernel-service.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 3113 matching lines...) Expand 10 before | Expand all | Expand 10 after
3124 * \param object An object. 3124 * \param object An object.
3125 * \param peer A value to store in the peer field. 3125 * \param peer A value to store in the peer field.
3126 * 3126 *
3127 * \return Returns an error if 'object' is a subtype of Null, num, or 3127 * \return Returns an error if 'object' is a subtype of Null, num, or
3128 * bool. 3128 * bool.
3129 */ 3129 */
3130 DART_EXPORT Dart_Handle Dart_SetPeer(Dart_Handle object, void* peer); 3130 DART_EXPORT Dart_Handle Dart_SetPeer(Dart_Handle object, void* peer);
3131 3131
3132 3132
3133 /* 3133 /*
3134 * ======
3135 * Kernel
3136 * ======
3137 */
3138
3139
3140 /**
3141 * Experimental support for Dart to Kernel parser isolate.
3142 *
3143 * TODO(hausner): Document finalized interface.
3144 *
3145 */
3146
3147 DART_EXPORT bool Dart_IsKernelIsolate(Dart_Isolate isolate);
3148 DART_EXPORT bool Dart_KernelIsolateIsRunning();
3149 DART_EXPORT Dart_Port Dart_ServiceWaitForKernelPort();
3150 DART_EXPORT Dart_Port Dart_KernelPort();
3151
3152 #define DART_KERNEL_ISOLATE_NAME "kernel-service"
3153
3154 /*
3155 * ======= 3134 * =======
3156 * Service 3135 * Service
3157 * ======= 3136 * =======
3158 */ 3137 */
3159 3138
3160 3139
3161 #define DART_VM_SERVICE_ISOLATE_NAME "vm-service" 3140 #define DART_VM_SERVICE_ISOLATE_NAME "vm-service"
3162 3141
3163 /** 3142 /**
3164 * Returns true if isolate is the service isolate. 3143 * Returns true if isolate is the service isolate.
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
3302 */ 3281 */
3303 DART_EXPORT bool Dart_IsPrecompiledRuntime(); 3282 DART_EXPORT bool Dart_IsPrecompiledRuntime();
3304 3283
3305 3284
3306 /** 3285 /**
3307 * Print a native stack trace. Used for crash handling. 3286 * Print a native stack trace. Used for crash handling.
3308 */ 3287 */
3309 DART_EXPORT void Dart_DumpNativeStackTrace(void* context); 3288 DART_EXPORT void Dart_DumpNativeStackTrace(void* context);
3310 3289
3311 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */ 3290 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */
OLDNEW
« no previous file with comments | « runtime/bin/main.cc ('k') | runtime/tools/kernel-service.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698