libusb_get_device method

Pointer<libusb_device> libusb_get_device(
  1. Pointer<libusb_device_handle> dev_handle
)

Implementation

ffi.Pointer<libusb_device> libusb_get_device(
  ffi.Pointer<libusb_device_handle> dev_handle,
) {
  return (_libusb_get_device ??=
      _dylib.lookupFunction<_c_libusb_get_device, _dart_libusb_get_device>(
          'libusb_get_device'))(
    dev_handle,
  );
}