Commit Graph

17 Commits

Author SHA1 Message Date
Cristian Maglie
1c2446b92c Implementing compatibility with go latest
This should allow darwin to be compatible with all the latest

go1.7.x
go1.8.x
go1.9.x
2018-08-20 01:02:49 +02:00
Cristian Maglie
e42339511c Fixed wrong build tags... oops 2018-08-19 18:57:32 +02:00
Cristian Maglie
338c399730 Factored out C.IORegistryEntryCreateCFProperty method 2018-08-19 18:51:07 +02:00
Cristian Maglie
6085517433 Made error variable explicit in search loop 2018-08-19 18:41:24 +02:00
Cristian Maglie
cdac3b30e1 Removed extra parenthesis 2018-08-19 18:41:00 +02:00
Cristian Maglie
71fe05aedd Added Release method to CFTypeRef 2018-08-19 18:40:47 +02:00
Cristian Maglie
ee147ffce4 Added Release method to CFStringRef 2018-08-19 18:28:57 +02:00
Cristian Maglie
75aa16d69f CFRef are no more internally represented as pointer but as integers
This is due to improvements in CGO compiler for darwin OS
2018-08-19 18:13:24 +02:00
Cristian Maglie
ef634e5745 Removed duplicated methods on (nowadays) equivalent type C.io_*_t
This is due to improvements on the cgo builder related to darwin OS.
2018-08-19 18:11:32 +02:00
Cristian Maglie
3c7a545ca2 Removed -fconstant-cfstrings CGO build flag 2018-08-19 18:09:25 +02:00
Cristian Maglie
3ee4586c58 Splitted usb_darwing.go in two different build units based on go version 2018-08-19 18:08:03 +02:00
Veniamin Albaev
86b770d218 Enumerator: Fixed go:generate comment
It pointing to mksyscal_windows.go in local folder which already removed
2017-07-25 13:33:03 +02:00
Cristian Maglie
1ba1196861 Fixed build of USB enumerator for go compiler >=1.8.3 (@facchinm)
Fixes #30
2017-06-22 15:40:40 +02:00
Martino Facchin
51237629e6 Fix build using Darwin and osxcross 2017-02-13 16:33:49 +01:00
Cristian Maglie
11d1e54246 Updated docs for USB 2017-02-04 00:53:51 +01:00
Cristian Maglie
3ad7c6b7d2 Moved go:generate into non-GOOS specific file
See #19
2017-02-04 00:24:23 +01:00
Cristian Maglie
c8b1c23a56 Moved USB enumerations subroutines in their own package 2017-01-30 10:54:16 +01:00