libusb_get_configuration method

int libusb_get_configuration(
  1. Pointer<libusb_device_handle> dev,
  2. Pointer<Int32> config
)

Implementation

int libusb_get_configuration(
  ffi.Pointer<libusb_device_handle> dev,
  ffi.Pointer<ffi.Int32> config,
) {
  return (_libusb_get_configuration ??= _dylib.lookupFunction<
      _c_libusb_get_configuration,
      _dart_libusb_get_configuration>('libusb_get_configuration'))(
    dev,
    config,
  );
}