[][src]Function dart_sys::Dart_PostCObject

pub unsafe extern "C" fn Dart_PostCObject(
    port_id: Dart_Port,
    message: *mut Dart_CObject
) -> bool

Posts a message on some port. The message will contain the Dart_CObject object graph rooted in 'message'.

While the message is being sent the state of the graph of Dart_CObject structures rooted in 'message' should not be accessed, as the message generation will make temporary modifications to the data. When the message has been sent the graph will be fully restored.

\param port_id The destination port. \param message The message to send.

\return True if the message was posted.