Example #1
0
func (c *Context) Debug(level int) {
	C.libusb_set_debug(c.ctx, C.int(level))
}
Example #2
0
File: usb.go Project: hanwen/usb
func (c *Context) SetDebug(level int) {
	C.libusb_set_debug(c.me(), C.int(level))
}
Example #3
0
File: usb.go Project: thequux/gousb
func (ctx *Context) SetDebug(level int) {
	ctx.doinit()
	C.libusb_set_debug(ctx.ctx, C.int(level))
}