libusb_alloc_streams method

int libusb_alloc_streams(
  1. Pointer<libusb_device_handle> dev_handle,
  2. int num_streams,
  3. Pointer<Uint8> endpoints,
  4. int num_endpoints,
)

Implementation

int libusb_alloc_streams(
  ffi.Pointer<libusb_device_handle> dev_handle,
  int num_streams,
  ffi.Pointer<ffi.Uint8> endpoints,
  int num_endpoints,
) {
  return (_libusb_alloc_streams ??= _dylib.lookupFunction<
      _c_libusb_alloc_streams,
      _dart_libusb_alloc_streams>('libusb_alloc_streams'))(
    dev_handle,
    num_streams,
    endpoints,
    num_endpoints,
  );
}