# remove enum to/from int casting syntax; add \`@enumToInt\`/\`@intToEnum\` · gitcafe/zig

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

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

Visibility: public

Requested revision: a3ddd0826bd9c799768c0c707de72c21befa742a

Requested commit: a3ddd0826bd9c799768c0c707de72c21befa742a

Commit: a3ddd0826bd9c799768c0c707de72c21befa742a

Tree: 685b621eb041c178af40c0044c74f689d8d6af7b

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
remove enum to/from int casting syntax; add `@enumToInt`/`@intToEnum`

see #1061

```

## Parents

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

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