aboutsummaryrefslogtreecommitdiffstats
path: root/prog/encoding.go
diff options
context:
space:
mode:
authorAlbert van der Linde <alinde@google.com>2020-07-14 07:44:00 +0000
committerDmitry Vyukov <dvyukov@google.com>2020-07-14 12:20:37 +0200
commit230553f68fcaa90508b724edd0dfc806669c1f22 (patch)
treecbc2024c41d78351ae75d219c70b63ad1c286a11 /prog/encoding.go
parentce4c95b3a67eee4693923ed820d14aa3d2655f45 (diff)
prog/types.go: add Type.Alignment() and TypeCommon.TypeAlign
Type.Alignment() can be used to obtain byte alignment for correctly allocating aligned memory for the Type.
Diffstat (limited to 'prog/encoding.go')
0 files changed, 0 insertions, 0 deletions