/* USB::Endpoint#bSynchAddress */ static VALUE rusb_endpoint_bSynchAddress(VALUE v) { return INT2FIX(get_usb_endpoint_descriptor(v)->bSynchAddress); } /* -------- USB::DevHandle -------- */ static VALUE rb_cUSB_DevHandle; void rusb_devhandle_free(void *_h) { usb_dev_handle *h = (usb_dev_handle *)_h; if (h) usb_close(h); }