# New @export\(\) handling · gitcafe/zig

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

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

Visibility: public

Requested revision: 5ab5de89c03bf9b3f08dfaa78d3b0fe41a72cdea

Requested commit: 5ab5de89c03bf9b3f08dfaa78d3b0fe41a72cdea

Commit: 5ab5de89c03bf9b3f08dfaa78d3b0fe41a72cdea

Tree: c93dcfb6b6dad6d52d8d03e1d1a4601da5f04a3c

Author: LemonBoy

Committer: Andrew Kelley

## Message

```
New @export() handling

Use a struct as second parameter to be future proof (and also allows to
specify default values for the parameters)

Closes #2679 as it was just a matter of a few lines of code.

```

## Parents

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

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