# stage2: allow @ptrToInt on anything that is a pointer at runtime · gitcafe/zig

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

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

Visibility: public

Requested revision: 16bddecff99eafb6c60d2c7a406d92d9c2d3c35a

Requested commit: 16bddecff99eafb6c60d2c7a406d92d9c2d3c35a

Commit: 16bddecff99eafb6c60d2c7a406d92d9c2d3c35a

Tree: 4a739f58ecc86b932e2b89981b7c953985e6ff91

Author: Robin Voetter

Committer: Robin Voetter

## Message

```
stage2: allow @ptrToInt on anything that is a pointer at runtime

This in particular allows @ptrToInt on pointer-like optionals.

```

## Parents

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

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