Closed rasky closed 2 years ago
Some versions of libusb.h define libusb_strerror as taking a "int", while others take a "enum libusb_error". This doesn't matter for C but it matters for Go. Create a wrapper with a fixed type, so that Go doesn't complain.
Some versions of libusb.h define libusb_strerror as taking a "int", while others take a "enum libusb_error". This doesn't matter for C but it matters for Go. Create a wrapper with a fixed type, so that Go doesn't complain.