| Index: runtime/include/dart_native_api.h
|
| diff --git a/runtime/include/dart_native_api.h b/runtime/include/dart_native_api.h
|
| index ea7900df6be69603e2e3ad1d83f928e60496ff6c..7dce495814cdfc72835629063709d65cf9f3fa53 100644
|
| --- a/runtime/include/dart_native_api.h
|
| +++ b/runtime/include/dart_native_api.h
|
| @@ -102,6 +102,16 @@ typedef struct _Dart_CObject {
|
| DART_EXPORT bool Dart_PostCObject(Dart_Port port_id, Dart_CObject* message);
|
|
|
| /**
|
| + * Posts a message on some port. The message will contain the integer 'message'.
|
| + *
|
| + * \param port_id The destination port.
|
| + * \param message The message to send.
|
| + *
|
| + * \return True if the message was posted.
|
| + */
|
| +DART_EXPORT bool Dart_PostInteger(Dart_Port port_id, int64_t message);
|
| +
|
| +/**
|
| * A native message handler.
|
| *
|
| * This handler is associated with a native port by calling
|
|
|