libusb_get_pollfds method

Pointer<Pointer<libusb_pollfd>> libusb_get_pollfds(
  1. Pointer<libusb_context> ctx
)

Implementation

ffi.Pointer<ffi.Pointer<libusb_pollfd>> libusb_get_pollfds(
  ffi.Pointer<libusb_context> ctx,
) {
  return (_libusb_get_pollfds ??=
      _dylib.lookupFunction<_c_libusb_get_pollfds, _dart_libusb_get_pollfds>(
          'libusb_get_pollfds'))(
    ctx,
  );
}