You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unlike some other projects, we do not use GitHub issues for questions. You will get better and faster answers on a forum.
Please see https://golang.org/wiki/Questions. Thanks.
If the fields of a C struct are aligned such that they can't be represented by a Go struct, then they cannot be accessed directly from cgo. You will have to write functions in C to read and write those fields.
Please take any followups to a separate forum, not here. Thanks.
I posted answer on stackoverflow.
https://stackoverflow.com/questions/64945442/cant-find-structs-some-field-with-pragma-pack-64-bits-integer
It may looks like bug. Is it right?
code:
cat _cgo_gotypes.go
The text was updated successfully, but these errors were encountered: