[go-nuts] Re: Struct Compatibility in unix.Syscall

2016-12-07 Thread Steven Logan
I was concerned that there might be a fundamental issue that would make this a massive pain, wasn't expecting it to be quite this straight forward. I'll have a go at these suggestions tomorrow, Cheers! -- You received this message because you are subscribed to the Google Groups "golang-nuts" gr

[go-nuts] Struct Compatibility in unix.Syscall

2016-12-06 Thread Steven Logan
I am trying to interact with devices using the V4L2 API. The API defines the following struct typedef __u64 v4l2_std_id struct v4l2_input { __u32 index; __u8 name[32]; __u32 type; __u32 audioset; __u32tuner; v4l2_std_id std; __u