Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DeviceHandle::into_raw() #97

Merged
merged 1 commit into from Aug 11, 2021
Merged

Add DeviceHandle::into_raw() #97

merged 1 commit into from Aug 11, 2021

Commits on Aug 11, 2021

  1. Add DeviceHandle::into_raw()

    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 <marcandre.lureau@redhat.com>
    elmarco committed Aug 11, 2021
    Copy the full SHA
    52a9de9 View commit details
    Browse the repository at this point in the history