libusb_set_log_cb method
void
libusb_set_log_cb(
- Pointer<
libusb_context> ctx, - Pointer<
NativeFunction< cb,libusb_log_cb> > - 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,
);
}