Skip to content

Commit

Permalink
Merge pull request #203 from kurkpitaine/free_pollfds
Browse files Browse the repository at this point in the history
Add libusb_free_pollfds() in the available FFI methods.
  • Loading branch information
a1ien authored Apr 27, 2024
2 parents 03f6f53 + bf93814 commit b99c8ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libusb1-sys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,7 @@ extern "system" {
removed_cb: Option<libusb_pollfd_removed_cb>,
user_data: *mut c_void,
);
pub fn libusb_free_pollfds(pollfds: *const *mut libusb_pollfd);
pub fn libusb_hotplug_register_callback(
ctx: *mut libusb_context,
events: c_int,
Expand Down

0 comments on commit b99c8ce

Please sign in to comment.