You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
libusbemu: make libusb functions callable with a NULL context
Implement a default_context mechanism similar to the one in libusb-1.0
itself, so that we can still pass a NULL context to libusb functions.
NOTE: we still assume libusb_init() needs to be called before any other
libusb_* function, otherwise the code will crash happily.
Signed-off-by: Antonio Ospite <[email protected]>
0 commit comments