Exemplo n.º 1
0
func (c *Context) Debug(level int) {
	C.libusb_set_debug(c.ctx, C.int(level))
}
Exemplo n.º 2
0
Arquivo: usb.go Projeto: hanwen/usb
func (c *Context) SetDebug(level int) {
	C.libusb_set_debug(c.me(), C.int(level))
}
Exemplo n.º 3
0
Arquivo: usb.go Projeto: thequux/gousb
func (ctx *Context) SetDebug(level int) {
	ctx.doinit()
	C.libusb_set_debug(ctx.ctx, C.int(level))
}