2021/10/09
That cgo will automagically ship a C.sizeof_YourStruct for every C struct that you can reference as C.YourStruct.
This is useful for pointer arithmetic via unsafe.Pointer(uintptr(something) + uintptr(intIndex * C.sizeof_YourStruct)).