Re:Purego – A library for calling C functions from Go withou...
by mook on Monday February 13, 2023 @01:51AM
(#34770850)
It would be good to have more documentation on usage, though; things like how to deal with struct padding (or packed structs), common OS API types (presumably manual munging of UCS2/UTF16 is needed for Windows), etc; at least to mention that it's unchanged from …/x/sys?
It's easier with dlopen because it's still C and therefore you have the normal headers…
It's easier with dlopen because it's still C and therefore you have the normal headers…