libusb-sys icon indicating copy to clipboard operation
libusb-sys copied to clipboard

libusb_fill_bulk_transfer() support is not present in current library.

Open blandger opened this issue 4 years ago • 2 comments

Hi. Did I missed something here?

I was trying to port one C library for working with some chip via USB and found out there is no 'libusb_fill_bulk_transfer' function present inside Rust, but it exists in C library. It my assumption correct?

I'd like to create and add those couple binding (libusb_fill_bulk_transfer(..) + libusb_fill_bulk_stream_transfer(..)) with related stuff.

blandger avatar Aug 24 '20 07:08 blandger

As far as I can tell all of the asynchronous functions are not generated by bindgen. I just ran into the same problem. Any new info? I'm trying to figure out if it is e.g. a bad type causing bindgen to skip them.

R030t1 avatar Sep 16 '20 03:09 R030t1

I did PR and have a plans to work on that more. Some changes in current version are quite possible because I need that stuff working on Linux. And no Bingen, manual stuff.

blandger avatar Sep 16 '20 05:09 blandger