Index: mojo/public/dart/src/handle_watcher.dart |
diff --git a/mojo/public/dart/src/handle_watcher.dart b/mojo/public/dart/src/handle_watcher.dart |
index f69c981b4fa06314db4ad4bb75443e5f3adb86e3..e03858751d1a98b3ff3fbfaf906610492be50058 100644 |
--- a/mojo/public/dart/src/handle_watcher.dart |
+++ b/mojo/public/dart/src/handle_watcher.dart |
@@ -5,13 +5,11 @@ |
part of core; |
class _MojoHandleWatcherNatives { |
- static int sendControlData(int controlHandle, int mojoHandle, SendPort port, |
- int data) native "MojoHandleWatcher_SendControlData"; |
- static List recvControlData(int controlHandle) native |
- "MojoHandleWatcher_RecvControlData"; |
- static int setControlHandle(int controlHandle) native |
- "MojoHandleWatcher_SetControlHandle"; |
- static int getControlHandle() native "MojoHandleWatcher_GetControlHandle"; |
+ external static int sendControlData(int controlHandle, int mojoHandle, |
+ SendPort port, int data); |
+ external static List recvControlData(int controlHandle); |
+ external static int setControlHandle(int controlHandle); |
+ external static int getControlHandle(); |
} |
// The MojoHandleWatcher sends a stream of events to application isolates that |