Closed planetA closed 2 years ago
Ah, I see what you're going for, but I think I wouldn't try a solution quite this drastic. It's fine to leave the __be64
type in bindgen — we don't generally expect people to be reaching into the ffi
module. Then the error you were running into should also go away. I've also left a couple of notes inline.
Thanks!
Create new Guid type that takes care of endianness conversion.