rust-dispatch
rust-dispatch copied to clipboard
Add as_raw() methods for queues, groups and semaphores.
This pull request adds as_raw() methods to the Queue, Group and Semaphore structures to allow to use the crate in bindings when the raw pointers are needed (e.g. IONotificationPortSetDispatchQueue or some XPC APIs).
Would fix #15
@SSheldon ping
in my case, this PR would be handy for interacting with Virtualization.framework