[][src]Function dart_sys::Dart_CloseNativePort

pub unsafe extern "C" fn Dart_CloseNativePort(native_port_id: Dart_Port) -> bool

Closes the native port with the given id.

The port must have been allocated by a call to Dart_NewNativePort.

\param native_port_id The id of the native port to close.

\return Returns true if the port was closed successfully.