-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This makes the API a bit friendlier and future-proof. Instead of returning a tuple from raw `recv()` return the `IpcMessage` struct that is used internally in the crate. In addition, this is used to pass data from the platform layer -- removing clippy warnings about complex data types. One upside to this is that `Option<IpcSharedMemory>` is turned into `IpcSharedMemory` in some places where having a `None` value shouldn't be possible. This simplification removes about 300 lines of code.
- Loading branch information
Showing
9 changed files
with
295 additions
and
616 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.