Folks,
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.