usb.go no longer needs "C"
This commit is contained in:
@@ -23,6 +23,7 @@ import (
|
||||
)
|
||||
|
||||
/*
|
||||
#cgo pkg-config: libusb-1.0
|
||||
#include <libusb.h>
|
||||
|
||||
int compact_iso_data(struct libusb_transfer *xfer, unsigned char *status);
|
||||
|
@@ -16,10 +16,6 @@
|
||||
// Package usb provides a wrapper around libusb-1.0.
|
||||
package usb
|
||||
|
||||
// #cgo pkg-config: libusb-1.0
|
||||
// #include <libusb.h>
|
||||
import "C"
|
||||
|
||||
type Context struct {
|
||||
ctx *libusbContext
|
||||
done chan struct{}
|
||||
|
Reference in New Issue
Block a user