diff options
| author | Albert van der Linde <alinde@google.com> | 2020-07-14 07:44:00 +0000 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-07-14 12:20:37 +0200 |
| commit | 230553f68fcaa90508b724edd0dfc806669c1f22 (patch) | |
| tree | cbc2024c41d78351ae75d219c70b63ad1c286a11 /prog/encoding.go | |
| parent | ce4c95b3a67eee4693923ed820d14aa3d2655f45 (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
