libusb_set_configuration method

int libusb_set_configuration(
  1. Pointer<libusb_device_handle> dev_handle,
  2. int configuration
)

Implementation

int libusb_set_configuration(
  ffi.Pointer<libusb_device_handle> dev_handle,
  int configuration,
) {
  return (_libusb_set_configuration ??= _dylib.lookupFunction<
      _c_libusb_set_configuration,
      _dart_libusb_set_configuration>('libusb_set_configuration'))(
    dev_handle,
    configuration,
  );
}