# wasm: support passing packed struct over C-ABI · gitcafe/zig

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

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

Visibility: public

Requested revision: a314e86772c539e803dfd51c34de52675189b34a

Requested commit: a314e86772c539e803dfd51c34de52675189b34a

Commit: a314e86772c539e803dfd51c34de52675189b34a

Tree: 561398e2941c16a2dee739d597e78cf18f4f0958

Author: Luuk de Gram

Committer: Luuk de Gram

## Message

```
wasm: support passing packed struct over C-ABI

This also adds support loading a runtime pointer from a packed struct.
Also, this commit improves many utility functions such as `trunc` and
`intcast` to also support non-integer types such as booleans.

```

## Parents

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

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