# CType: Add \`preferredAlignment\` · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/c96f85852ed2e1d5b2ecb43770a3c41d7f38f284)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: c96f85852ed2e1d5b2ecb43770a3c41d7f38f284

Requested commit: c96f85852ed2e1d5b2ecb43770a3c41d7f38f284

Commit: c96f85852ed2e1d5b2ecb43770a3c41d7f38f284

Tree: 328b0365662d8027719d59735192c2d8dc818de1

Author: Cody Tapscott

Committer: Cody Tapscott

## Message

```
CType: Add `preferredAlignment`

This value corresponds to clang/gcc's `__alignof` (rather than
`_Alignof` which reports the minimum alignment). We don't use this
information yet, but it might be useful for implementing ABIs so it
is included here.

```

## Parents

- [c50f33b1118f2e81597bd9ef5976fcb3eb961dee](https://git.cafe/gitcafe/zig/commit/c50f33b1118f2e81597bd9ef5976fcb3eb961dee?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/c96f85852ed2e1d5b2ecb43770a3c41d7f38f284?format=markdown)
