Closed kurkpitaine closed 3 months ago
Since libusb_get_pollfds() is already available in the FFI, this PR adds the libusb_free_pollfds() method from libusb available in the FFI.
Libusb documentation of libusb_free_pollfds() states : "This should be called for all pollfd lists allocated with libusb_get_pollfds()"
Can you please push as one commit. Other than that looks good to me.
Since libusb_get_pollfds() is already available in the FFI, this PR adds the libusb_free_pollfds() method from libusb available in the FFI.
Libusb documentation of libusb_free_pollfds() states : "This should be called for all pollfd lists allocated with libusb_get_pollfds()"