Index: runtime/include/dart_api.h |
diff --git a/runtime/include/dart_api.h b/runtime/include/dart_api.h |
index 93d6da504d184b881f8d3f8890317bc773bff27b..fb73fc525c78d550baca08ef3d640f1235dde923 100644 |
--- a/runtime/include/dart_api.h |
+++ b/runtime/include/dart_api.h |
@@ -3131,6 +3131,27 @@ DART_EXPORT Dart_Handle Dart_SetPeer(Dart_Handle object, void* peer); |
/* |
+ * ====== |
+ * Kernel |
+ * ====== |
+ */ |
+ |
+ |
+/** |
+ * Experimental support for Dart to Kernel parser isolate. |
+ * |
+ * TODO(hausner): Document finalized interface. |
+ * |
+ */ |
+ |
+DART_EXPORT bool Dart_IsKernelIsolate(Dart_Isolate isolate); |
+DART_EXPORT bool Dart_KernelIsolateIsRunning(); |
+DART_EXPORT Dart_Port Dart_ServiceWaitForKernelPort(); |
+DART_EXPORT Dart_Port Dart_KernelPort(); |
+ |
+#define DART_KERNEL_ISOLATE_NAME "kernel-service" |
+ |
+/* |
* ======= |
* Service |
* ======= |