Chromium Code Reviews
Descriptiongo/bindings/cgo: allocate C structs on C side
Running a go mojo application on ARMv7 android I found
out that C structs are not 8-byte aligned. To make sure
that this happens we add a cheap wrapper fo cgo calls
that takes a non-aligned C struct, copies it to properly
allocated and makes a call to Mojo interface.
R=jamesr@chromium.org
Committed: https://chromium.googlesource.com/external/mojo/+/5062c7339b99172203ff60752e0975810426c9e1
Patch Set 1 #
Messages
Total messages: 5 (2 generated)
|
||||||||||||||||||||||||||||