Review my code: Thick bindings to libusb


I started learning Ada about 2 weeks ago and these thick bindings to libusb is my first Ada project.

I can now neatly iterate over connected USB devices. I only added enough functionality to list USB devices but will add more in the near future.

Please spare a few minutes to review my code and let me know what I’m doing wrong, what I should do differently, what can be improved, etc.

For example, I’m not sure if I should collect all type definitions at the beginning of the package or intersperse them between function declarations.

Hi, I would like to, I won’t be able to get to it until sometime next week. Hopefully others will provide you some feedback.