libusb_ref_device method

Pointer<libusb_device> libusb_ref_device(
  1. Pointer<libusb_device> dev
)

Implementation

ffi.Pointer<libusb_device> libusb_ref_device(
  ffi.Pointer<libusb_device> dev,
) {
  return (_libusb_ref_device ??=
      _dylib.lookupFunction<_c_libusb_ref_device, _dart_libusb_ref_device>(
          'libusb_ref_device'))(
    dev,
  );
}