libusb_set_log_cb method

void libusb_set_log_cb(
  1. Pointer<libusb_context> ctx,
  2. Pointer<NativeFunction<libusb_log_cb>> cb,
  3. int mode
)

Implementation

void libusb_set_log_cb(
  ffi.Pointer<libusb_context> ctx,
  ffi.Pointer<ffi.NativeFunction<libusb_log_cb>> cb,
  int mode,
) {
  return (_libusb_set_log_cb ??=
      _dylib.lookupFunction<_c_libusb_set_log_cb, _dart_libusb_set_log_cb>(
          'libusb_set_log_cb'))(
    ctx,
    cb,
    mode,
  );
}