Index: runtime/include/dart_api.h |
=================================================================== |
--- runtime/include/dart_api.h (revision 37758) |
+++ runtime/include/dart_api.h (working copy) |
@@ -1177,31 +1177,15 @@ |
*/ |
DART_EXPORT Dart_Handle Dart_NewSendPort(Dart_Port port_id); |
- |
-DART_EXPORT Dart_Handle Dart_ReceivePortGetId(Dart_Handle port, |
- Dart_Port* port_id); |
- |
/** |
- * Gets the ReceivePort for the provided port id. |
- * Returns Dart_Null if a port with the provided port id is not associated with |
+ * Gets the SendPort id for the provided SendPort. |
+ * Returns Dart_Null if the provided port is not associated with |
Ivan Posva
2014/06/27 06:21:49
This comment does not appear to be correct (based
siva
2014/06/30 17:18:14
Fixed the comment adding the param field and retur
|
* the current isolate. |
Ivan Posva
2014/06/27 06:21:49
\param and \return comments?
siva
2014/06/30 17:18:14
Done.
|
- * |
- * Note that there is at most one ReceivePort for a given port id. |
*/ |
-DART_EXPORT Dart_Handle Dart_GetReceivePort(Dart_Port port_id); |
+DART_EXPORT Dart_Handle Dart_SendPortGetId(Dart_Handle port, |
+ Dart_Port* port_id); |
-/** |
- * Posts an object to the send port. |
- * |
- * \param send_port A Dart SendPort. |
- * \param object An object from the current isolate. |
- * |
- * \return Success if no error occurs. Otherwise returns an error handle. |
- */ |
-DART_EXPORT Dart_Handle Dart_PostMessage(Dart_Handle send_port, |
- Dart_Handle object); |
- |
/* |
* ====== |
* Scopes |