-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
As exotic as it may be, libusbredir requires to give the device handle ownership to the library. This function helps to achieve this, without having to leak the a DeviceHandle with mem::forget. Signed-off-by: Marc-André Lureau <[email protected]>
- Loading branch information
Showing
1 changed file
with
39 additions
and
25 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