Index: mojo/dart/packages/mojo/lib/src/handle.dart |
diff --git a/mojo/dart/packages/mojo/lib/src/handle.dart b/mojo/dart/packages/mojo/lib/src/handle.dart |
index 3c98ff491fccbe8d7dab4567c31db693a6c7f84e..fbc664da37d4f0f89cd7978a621fbd3f8667b849 100644 |
--- a/mojo/dart/packages/mojo/lib/src/handle.dart |
+++ b/mojo/dart/packages/mojo/lib/src/handle.dart |
@@ -5,11 +5,15 @@ |
part of core; |
class MojoHandle { |
+ // TODO(floitsch): get the INVALID value from the backing internal |
+ // implementation. |
static const int INVALID = 0; |
static const int DEADLINE_INDEFINITE = -1; |
- int _h; |
- int get h => _h; |
+ // The type of this field is determined by the backing internal |
+ // implementation. |
+ Object _h; |
+ Object get h => _h; |
MojoHandle(this._h, {String description}) { |
MojoHandleNatives.addOpenHandle(_h, description: description); |