Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix MIDIPacketNext to not trigger Rust's UB check (#18)
This should fix #17. It also simplifies MIDIEventPacketNext, which doesn't need the platform-specific distinction, as the size is 4-byte aligned anyways (see also https://github.com/phracker/MacOSX-SDKs/blob/041600eda65c6a668f66cb7d56b7d1da3e8bcc93/MacOSX11.3.sdk/System/Library/Frameworks/CoreMIDI.framework/Versions/A/Headers/MIDIServices.h#L2387).
- Loading branch information