libusb_set_pollfd_notifiers method

void libusb_set_pollfd_notifiers(
  1. Pointer<libusb_context> ctx,
  2. Pointer<NativeFunction<libusb_pollfd_added_cb>> added_cb,
  3. Pointer<NativeFunction<libusb_pollfd_removed_cb>> removed_cb,
  4. Pointer<Void> user_data,
)

Implementation

void libusb_set_pollfd_notifiers(
  ffi.Pointer<libusb_context> ctx,
  ffi.Pointer<ffi.NativeFunction<libusb_pollfd_added_cb>> added_cb,
  ffi.Pointer<ffi.NativeFunction<libusb_pollfd_removed_cb>> removed_cb,
  ffi.Pointer<ffi.Void> user_data,
) {
  return (_libusb_set_pollfd_notifiers ??= _dylib.lookupFunction<
      _c_libusb_set_pollfd_notifiers,
      _dart_libusb_set_pollfd_notifiers>('libusb_set_pollfd_notifiers'))(
    ctx,
    added_cb,
    removed_cb,
    user_data,
  );
}